php-src/ext/json/tests/bug68817.phpt
2015-01-14 16:12:35 -08:00

18 lines
231 B
PHP

--TEST--
Bug #68817 (Null pointer deference)
--SKIPIF--
<?php if (!extension_loaded("json")) print "skip"; ?>
--FILE--
<?php
var_dump(json_decode('[""]'));
?>
===DONE===
--EXPECTF--
array(1) {
[0]=>
string(0) ""
}
===DONE===