summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-11.phpt
blob: ca86951d1a3832727242455fea63a7539a519417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
zend multibyte (11)
--INI--
zend.multibyte=1
--FILE--
<?php
declare(encoding="ISO-8859-15") {
	declare(encoding="ISO-8859-1");
	echo "ok\n";
}
?>
--EXPECTF--
Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line %d