xref: /PHP-7.2/ext/json/tests/bug68817.phpt (revision 7f95aa4d)
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--EXPECTF--
13array(1) {
14  [0]=>
15  string(0) ""
16}
17===DONE===
18