1--TEST-- 2zend multibyte (2) 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=UTF-8 12mbstring.internal_encoding=CP932 13--FILE-- 14<?php 15var_dump(bin2hex("テスト")); 16?> 17--EXPECT-- 18string(12) "836583588367" 19