3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([json_encode(json_decode( '{}', false )), json_encode(array())]);

preferences:
52.25 ms | 406 KiB | 5 Q