php-src/ext/mbstring/tests/zend_multibyte-07.phpt

15 lines
272 B
Plaintext
Raw Normal View History

2008-07-24 22:21:41 +00:00
--TEST--
zend multibyte (7)
--INI--
error_reporting=E_ALL & ~E_DEPRECATED
zend.multibyte=On
zend.script_encoding=ISO-8859-1
2008-07-24 22:21:41 +00:00
mbstring.internal_encoding=EUC-JP
--FILE--
<?php
declare(encoding="UTF-8");
var_dump(bin2hex("テスト"));
?>
--EXPECT--
string(12) "a5c6a5b9a5c8"