php-src/ext/mbstring/tests/zend_multibyte-10.phpt

16 lines
396 B
Plaintext
Raw Normal View History

2008-07-24 22:21:41 +00:00
--TEST--
zend multibyte (10)
2008-07-25 10:48:20 +00:00
--SKIPIF--
2008-07-24 22:21:41 +00:00
<?php
ini_set("mbstring.script_encoding", "SJIS");
2008-07-25 10:48:20 +00:00
ini_set("mbstring.script_encoding", "***") != "SJIS" and
2008-07-24 22:21:41 +00:00
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