xref: /PHP-7.4/Zend/tests/multibyte/bug68665.phpt (revision f73f190c)
1--TEST--
2Crash with Big5
3--SKIPIF--
4<?php
5if (!in_array("zend.detect_unicode", array_keys(ini_get_all()))) {
6  die("skip Requires configure --enable-zend-multibyte option");
7}
8if (!extension_loaded("mbstring")) {
9  die("skip Requires mbstring extension");
10}
11?>
12--INI--
13zend.multibyte=1
14internal_encoding=big5
15--FILE--
16<?php
17echo '\'hello';
18?>
19
20===DONE===
21--EXPECT--
22'hello
23===DONE===
24