1--TEST-- 2zend multibyte (9) 3--SKIPIF-- 4--XFAIL-- 5https://bugs.php.net/bug.php?id=66582 6--INI-- 7zend.multibyte=On 8zend.script_encoding=cp1251 9mbstring.internal_encoding=UTF-8 10--FILE-- 11<?php 12declare(encoding="EUC-JP"); 13// forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it 14// back to UTF-8. There should be only a pair of consecutive bytes that is 15// valid EUC-encoded character "鴻". 16var_dump(bin2hex("テスト")); 17?> 18--EXPECT-- 19string(16) "3f3f3fe9b4bb3f3f" 20