php-src/ext/mbstring/tests/zend_multibyte-06.phpt
Nikita Popov f017843df3 Remove self-contradictory zend multibyte assertion
Code that explicitly exists to handle an incompatible internal
encoding should not assert that the internal encoding is compatible.
2014-09-11 14:52:59 +02:00

14 lines
230 B
PHP

--TEST--
zend multibyte (6)
--INI--
zend.multibyte=On
zend.script_encoding=EUC-JP
mbstring.internal_encoding=CP932
--FILE--
<?php
declare(encoding="UTF-8");
var_dump(bin2hex("テスト"));
?>
--EXPECTF--
string(12) "836583588367"