summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-11.phpt
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2012-01-14 09:07:10 +0000
committerRui Hirokawa <hirokawa@php.net>2012-01-14 09:07:10 +0000
commit7ba37f79211552a9db2ed4ee3f9cd24587432e42 (patch)
treefe68d4ceb83fe71af116c37d0299f5d12486116d /ext/mbstring/tests/zend_multibyte-11.phpt
parent61088ce7296f2a3b4b53e60bdf413455b870664d (diff)
downloadphp-git-7ba37f79211552a9db2ed4ee3f9cd24587432e42.tar.gz
fixed failed tests (backport from PHP_5_4/trunk).
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 84e16ae467..b79e4339ba 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