diff options
author | Marcus Boerger <helly@php.net> | 2008-04-06 17:53:31 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-04-06 17:53:31 +0000 |
commit | 8f670912a3100b376c545924bc4e18f01a2755dd (patch) | |
tree | 059253415d9d20631b2711337accbab5fa9d1eb8 /Zend/tests/multibyte | |
parent | 8d8e9d273b40eeb48fbbc62bc974834c2c070b4d (diff) | |
download | php-git-8f670912a3100b376c545924bc4e18f01a2755dd.tar.gz |
- MFH add new tests
Diffstat (limited to 'Zend/tests/multibyte')
-rwxr-xr-x | Zend/tests/multibyte/multibyte_encoding_002.phpt | 21 | ||||
-rwxr-xr-x | Zend/tests/multibyte/multibyte_encoding_003.phpt | bin | 0 -> 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 Binary files differnew file mode 100755 index 0000000000..19b29f209b --- /dev/null +++ b/Zend/tests/multibyte/multibyte_encoding_003.phpt |