summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-01.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/tests/zend_multibyte-01.phpt')
-rw-r--r--ext/mbstring/tests/zend_multibyte-01.phpt23
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-01.phpt b/ext/mbstring/tests/zend_multibyte-01.phpt
new file mode 100644
index 0000000..d96e0f0
--- /dev/null
+++ b/ext/mbstring/tests/zend_multibyte-01.phpt
@@ -0,0 +1,23 @@
+--TEST--
+zend multibyte (1)
+--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
+mbstring.internal_encoding=Shift_JIS
+--FILE--
+<?php
+ function 予蚕能($引数)
+ {
+ echo $引数;
+ }
+
+ 予蚕能("ドレミファソ");
+?>
+--EXPECT--
+ドレミファソ