3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ok = (json_decode('{"200":"Status OK:217204"}')); var_dump($ok); var_dump($ok->200);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '200' (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/RlQZb on line 5
Process exited with code 255.

preferences:
161.59 ms | 1399 KiB | 36 Q