1--TEST-- 2Zend Multibyte and UTF-16 BOM 3--SKIPIF-- 4<?php 5if (!in_array("zend.detect_unicode", array_keys(ini_get_all()))) { 6 die("skip Requires configure --enable-zend-multibyte option"); 7} 8if (!extension_loaded("mbstring")) { 9 die("skip Requires mbstring extension"); 10} 11?> 12--INI-- 13zend.multibyte=1 14mbstring.internal_encoding=iso-8859-1 15--FILE-- 16��<?php 17print "Hello World\n"; 18?> 19===DONE=== 20 21--EXPECT-- 22Hello World 23===DONE=== 24