summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/bug68846.phpt
blob: c0a7c267fd1b90c9bc885ed4f445566d09acf761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #68846	False detection of CJK Unified Ideographs Extension E
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
var_dump(
    "\x00\x02\x0b\xb7" === mb_convert_encoding("\x95\x34\xb2\x35", 'UTF-32', 'GB18030')
);
?>
--EXPECT--
bool(true)