3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array("condition" => "test"); if ($x['condition']['test']) { echo "test"; } echo PHP_EOL; print_r($x); echo $x['condition'];

preferences:
37.47 ms | 402 KiB | 5 Q