3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "{\"abcd\":\"123}"; $json = json_decode($str); echo ($json == null); var_dump($json); ?>

preferences:
33.34 ms | 402 KiB | 5 Q