dis-bench / src /php /php-src /ext /json /tests /bug68938.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
164 Bytes
--TEST--
Bug #68938 (json_decode() decodes empty string without indicating error)
--FILE--
<?php
json_decode("");
var_dump(json_last_error());
?>
--EXPECT--
int(4)