Comment 15 for bug 1287726

Revision history for this message
Nish Aravamudan (nacc) wrote :

Note that in PHP7.0, the provided test behaves slightly differently, I would appreciate any insight into understanding if it is correct:

var_dump(bin2hex(json_decode($json, true, 2)));
 returns string(0) ""

$t = json_decode($json, true, 2); for the Index and Property cases returns NULL.