3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"user_changed": 1027924, "success": true}'; $obj = json_decode($json); var_dump($obj) // dump what we got
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.29, 5.6.7 - 5.6.13
Parse error: syntax error, unexpected end of file in /in/VdPKt on line 4
Process exited with code 255.

preferences:
203.96 ms | 941 KiB | 64 Q