diff options
| author | Dmitry Stogov <dmitry@php.net> | 2010-11-24 05:41:23 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2010-11-24 05:41:23 +0000 |
| commit | ab93d8c621645e05d6a6a431d52ac64eda956673 (patch) | |
| tree | 07d6d54e462b85b20fed1a91097ef908da48fb1c /ext/mbstring/tests | |
| parent | 011fd8059d7e8e0ea9a70bc86d817e942dcbb238 (diff) | |
| download | php-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')
| -rw-r--r-- | ext/mbstring/tests/zend_multibyte-10.phpt | 3 | ||||
| -rw-r--r-- | ext/mbstring/tests/zend_multibyte-11.phpt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-10.phpt b/ext/mbstring/tests/zend_multibyte-10.phpt index c3543c937a..435c339752 100644 --- a/ext/mbstring/tests/zend_multibyte-10.phpt +++ b/ext/mbstring/tests/zend_multibyte-10.phpt @@ -11,6 +11,7 @@ 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 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 |
