3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { echo '{"test":"bla"}'; }; echo (json_decode($var = test())); echo "\n"; echo $var.'bldsfsdfa';

preferences:
54.89 ms | 402 KiB | 5 Q