php-src/ext/mbstring/tests/zend_multibyte-02.phpt
Moriyoshi Koizumi 935846db2b - Fix tests.
2008-07-25 10:48:20 +00:00

18 lines
355 B
PHP

--TEST--
zend multibyte (2)
--SKIPIF--
<?php
ini_set("mbstring.script_encoding", "SJIS");
ini_set("mbstring.script_encoding", "***") != "SJIS" and
die("skip zend-multibyte is not available");
?>
--INI--
mbstring.script_encoding=UTF-8
mbstring.internal_encoding=CP932
--FILE--
<?php
var_dump(bin2hex("テスト"));
?>
--EXPECT--
string(12) "836583588367"