summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-11.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/tests/zend_multibyte-11.phpt')
-rw-r--r--ext/mbstring/tests/zend_multibyte-11.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-11.phpt b/ext/mbstring/tests/zend_multibyte-11.phpt
index 84e16ae46..b79e4339b 100644
--- a/ext/mbstring/tests/zend_multibyte-11.phpt
+++ b/ext/mbstring/tests/zend_multibyte-11.phpt
@@ -11,7 +11,8 @@ if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") {
<?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 3
+ok