summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-04.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/tests/zend_multibyte-04.phpt')
-rw-r--r--ext/mbstring/tests/zend_multibyte-04.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-04.phpt b/ext/mbstring/tests/zend_multibyte-04.phpt
new file mode 100644
index 0000000..f1295b6
--- /dev/null
+++ b/ext/mbstring/tests/zend_multibyte-04.phpt
@@ -0,0 +1,18 @@
+--TEST--
+zend multibyte (4)
+--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=CP932
+mbstring.internal_encoding=UTF-8
+--FILE--
+<?php
+var_dump(bin2hex("ƒeƒXƒg"));
+?>
+--EXPECT--
+string(18) "e38386e382b9e38388"