3v4l.org

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

preferences:
50.15 ms | 402 KiB | 5 Q