summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-02.phpt
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-05-10 21:04:46 +0000
committerJani Taskinen <jani@php.net>2009-05-10 21:04:46 +0000
commit068d240da5f701edff38a2d9566c5b1420e1e8ca (patch)
tree6980a343f5ef30d1af2f188dfbd22941a2850a53 /ext/mbstring/tests/zend_multibyte-02.phpt
parent06000724e76e60842ef772025ea430844900e03e (diff)
downloadphp-git-068d240da5f701edff38a2d9566c5b1420e1e8ca.tar.gz
- Fixed bug #48200 (compile failure with mbstring.c when --enable-zend-multibyte is used)
Diffstat (limited to 'ext/mbstring/tests/zend_multibyte-02.phpt')
-rw-r--r--ext/mbstring/tests/zend_multibyte-02.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-02.phpt b/ext/mbstring/tests/zend_multibyte-02.phpt
index c613a722b5..c94dee5a28 100644
--- a/ext/mbstring/tests/zend_multibyte-02.phpt
+++ b/ext/mbstring/tests/zend_multibyte-02.phpt
@@ -2,9 +2,10 @@
zend multibyte (2)
--SKIPIF--
<?php
-ini_set("mbstring.script_encoding", "SJIS");
-ini_set("mbstring.script_encoding", "***") != "SJIS" and
+ini_set("mbstring.script_encoding","SJIS");
+if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") {
die("skip zend-multibyte is not available");
+}
?>
--INI--
mbstring.script_encoding=UTF-8