php-src/ext/mbstring/tests/zend_multibyte-11.phpt
Moriyoshi Koizumi 935846db2b - Fix tests.
2008-07-25 10:48:20 +00:00

17 lines
400 B
PHP

--TEST--
zend multibyte (11)
--SKIPIF--
<?php
ini_set("mbstring.script_encoding", "SJIS");
ini_set("mbstring.script_encoding", "***") != "SJIS" and
die("skip zend-multibyte is not available");
?>
--FILE--
<?php
declare(encoding="ISO-8859-15") {
declare(encoding="ISO-8859-1");
}
?>
--EXPECTF--
Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line 3