1--TEST-- 2zend multibyte (8) 3--SKIPIF-- 4<?php 5ini_set("mbstring.script_encoding","SJIS"); 6if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") { 7 die("skip zend-multibyte is not available"); 8} 9?> 10--INI-- 11mbstring.script_encoding=ISO-8859-1 12mbstring.internal_encoding=UTF-8 13--FILE-- 14<?php 15declare(encoding="CP932"); 16var_dump(bin2hex("�e�X�g")); 17?> 18--EXPECT-- 19string(18) "e38386e382b9e38388" 20