1--TEST-- 2Zend Multibyte and UTF-8 BOM 3--SKIPIF-- 4<?php 5if (!in_array("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-- 13mbstring.internal_encoding=iso-8859-1 14--FILE-- 15<?php 16print "Hello World\n"; 17?> 18===DONE=== 19--EXPECT-- 20Hello World 21===DONE=== 22