xref: /PHP-7.4/ext/json/tests/bug68817.phpt (revision ded3d984)
1--TEST--
2Bug #68817 (Null pointer deference)
3--SKIPIF--
4<?php if (!extension_loaded("json")) print "skip"; ?>
5--FILE--
6<?php
7
8var_dump(json_decode('[""]'));
9
10?>
11===DONE===
12--EXPECT--
13array(1) {
14  [0]=>
15  string(0) ""
16}
17===DONE===
18