mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
f017843df3
Code that explicitly exists to handle an incompatible internal encoding should not assert that the internal encoding is compatible.
14 lines
230 B
PHP
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"
|