1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/json/tests/bug68938.phpt
2020-05-28 15:07:47 -04:00

10 lines
164 B
PHP

--TEST--
Bug #68938 (json_decode() decodes empty string without indicating error)
--FILE--
<?php
json_decode("");
var_dump(json_last_error());
?>
--EXPECT--
int(4)