diff options
author | Anatol Belski <ab@php.net> | 2014-12-28 16:27:08 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-12-28 16:29:07 +0100 |
commit | 67c47e7861a612634bc56525163b6c781aada8db (patch) | |
tree | a34144529adc011cba3345091132bfe1f0a21c54 | |
parent | ef89ab2f99fbd9b7b714556d4f1f50644eb54191 (diff) | |
download | php-git-67c47e7861a612634bc56525163b6c781aada8db.tar.gz |
added test for bug #68665
-rw-r--r-- | Zend/tests/multibyte/bug68665.phpt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Zend/tests/multibyte/bug68665.phpt b/Zend/tests/multibyte/bug68665.phpt new file mode 100644 index 0000000000..74ff01da33 --- /dev/null +++ b/Zend/tests/multibyte/bug68665.phpt @@ -0,0 +1,23 @@ +--TEST-- +Crash with Big5 +--SKIPIF-- +<?php +if (!in_array("zend.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-- +zend.multibyte=1 +mbstring.internal_encoding=big5 +--FILE-- +<?php +echo '\'hello'; +?> + +===DONE=== +--EXPECT-- +'hello +===DONE=== |