3v4l.org

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

preferences:
37.08 ms | 402 KiB | 5 Q