xref: /PHP-8.0/ext/json/tests/bug68817.phpt (revision 32a1ebbd)
1--TEST--
2Bug #68817 (Null pointer deference)
3--FILE--
4<?php
5
6var_dump(json_decode('[""]'));
7
8?>
9--EXPECT--
10array(1) {
11  [0]=>
12  string(0) ""
13}
14