3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ary = array(); $ary['foo'] = 'bar'; var_dump($ary);

preferences:
58.56 ms | 402 KiB | 5 Q