diff options
-rw-r--r-- | ext/mbstring/tests/zend-multibyte.phpt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/mbstring/tests/zend-multibyte.phpt b/ext/mbstring/tests/zend-multibyte.phpt new file mode 100644 index 0000000000..92e4d29383 --- /dev/null +++ b/ext/mbstring/tests/zend-multibyte.phpt @@ -0,0 +1,22 @@ +--TEST-- +zend multibyte +--SKIPIF-- +<?php +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=Shift_JIS +--FILE-- +<?php + function 予蚕能($引数) + { + echo $引数; + } + + 予蚕能("ドレミファソ"); +?> +--EXPECT-- +ドレミファソ |