mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
17 lines
400 B
PHP
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
|