summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-11.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2010-11-24 05:41:23 +0000
committerDmitry Stogov <dmitry@php.net>2010-11-24 05:41:23 +0000
commitab93d8c621645e05d6a6a431d52ac64eda956673 (patch)
tree07d6d54e462b85b20fed1a91097ef908da48fb1c /ext/mbstring/tests/zend_multibyte-11.phpt
parent011fd8059d7e8e0ea9a70bc86d817e942dcbb238 (diff)
downloadphp-git-ab93d8c621645e05d6a6a431d52ac64eda956673.tar.gz
Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
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