summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/028.phpt
blob: 0e897d86f8cfe445e453d4099f231b652ef191d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
function test: mysqli_character_set_name
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
	include "connect.inc";
	
	/*** test mysqli_connect 127.0.0.1 ***/
	$link = mysqli_connect($host, $user, $passwd);

	$cset = substr(mysqli_character_set_name($link),0,6);

	var_dump($cset);

	mysqli_close($link);
?>
--EXPECTF--
string(%d) "%s"