summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-04-06 17:53:36 +0000
committerSVN Migration <svn@php.net>2008-04-06 17:53:36 +0000
commitdbdaea422c2c08450e591773ee7ba29dd2806a48 (patch)
tree947eb89b2caf72283697b2fa90c36912934bc193
parent62c865e21f26a199492ed451684bc3f9b5a500b0 (diff)
downloadphp-git-php-5.2.6RC4.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_2_6RC4'.php-5.2.6RC4
-rwxr-xr-xZend/tests/multibyte/multibyte_encoding_002.phpt21
-rwxr-xr-xZend/tests/multibyte/multibyte_encoding_003.phptbin0 -> 469 bytes
2 files changed, 21 insertions, 0 deletions
diff --git a/Zend/tests/multibyte/multibyte_encoding_002.phpt b/Zend/tests/multibyte/multibyte_encoding_002.phpt
new file mode 100755
index 0000000000..813222d82d
--- /dev/null
+++ b/Zend/tests/multibyte/multibyte_encoding_002.phpt
@@ -0,0 +1,21 @@
+--TEST--
+Zend Multibyte and UTF-8 BOM
+--SKIPIF--
+<?php
+if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
+ die("skip Requires configure --enable-zend-multibyte option");
+}
+if (!extension_loaded("mbstring")) {
+ die("skip Requires mbstring extension");
+}
+?>
+--INI--
+mbstring.internal_encoding=iso-8859-1
+--FILE--
+<?php
+print "Hello World\n";
+?>
+===DONE===
+--EXPECT--
+Hello World
+===DONE===
diff --git a/Zend/tests/multibyte/multibyte_encoding_003.phpt b/Zend/tests/multibyte/multibyte_encoding_003.phpt
new file mode 100755
index 0000000000..19b29f209b
--- /dev/null
+++ b/Zend/tests/multibyte/multibyte_encoding_003.phpt
Binary files differ