1--TEST-- 2Bug #69092-2 (Declare Encoding Compile Check Wrong) - multibyte off 3--INI-- 4zend.multibyte=0 5--FILE-- 6<?php 7echo "Hi"; 8 9function foo() { 10 declare(encoding="UTF-8"); 11} 12 13echo "Bye" 14?> 15--EXPECTF-- 16Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in %s on line %d 17 18Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line %d 19