mirror of
https://github.com/php/php-src.git
synced 2024-10-02 07:16:11 +00:00
f017843df3
Code that explicitly exists to handle an incompatible internal encoding should not assert that the internal encoding is compatible.
14 lines
240 B
PHP
14 lines
240 B
PHP
--TEST--
|
|
zend multibyte (2)
|
|
--INI--
|
|
error_reporting=E_ALL & ~E_DEPRECATED
|
|
zend.multibyte=On
|
|
zend.script_encoding=UTF-8
|
|
mbstring.internal_encoding=CP932
|
|
--FILE--
|
|
<?php
|
|
var_dump(bin2hex("テスト"));
|
|
?>
|
|
--EXPECTF--
|
|
string(12) "836583588367"
|