mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
added test for bug #68665
This commit is contained in:
parent
ef89ab2f99
commit
67c47e7861
23
Zend/tests/multibyte/bug68665.phpt
Normal file
23
Zend/tests/multibyte/bug68665.phpt
Normal file
@ -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===
|
Loading…
Reference in New Issue
Block a user