xref: /PHP-5.3/ext/mysqli/tests/028.phpt (revision eb0e09f5)
1--TEST--
2function test: mysqli_character_set_name
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6require_once('skipifconnectfailure.inc');
7?>
8--FILE--
9<?php
10	require_once("connect.inc");
11
12	/*** test mysqli_connect 127.0.0.1 ***/
13	$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
14
15	$cset = substr(mysqli_character_set_name($link),0,6);
16
17	var_dump($cset);
18
19	mysqli_close($link);
20	print "done!";
21?>
22--EXPECTF--
23%unicode|string%(%d) "%s"
24done!