mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
18 lines
230 B
PHP
18 lines
230 B
PHP
--TEST--
|
|
Bug #68817 (Null pointer deference)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("json")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(json_decode('[""]'));
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
string(0) ""
|
|
}
|
|
===DONE===
|