File size: 164 Bytes
1e94262
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #68938 (json_decode() decodes empty string without indicating error)
--FILE--
<?php
json_decode("");
var_dump(json_last_error());
?>
--EXPECT--
int(4)