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