3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = [ 'key1'=>1, 'key2'=>1, 'key3'=>1, 'key4'=>1, ];
based on cKPFJ
Output for 5.4.0 - 7.1.0
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/D4l03 on line 2
Process exited with code 255.