3v4l.org

run code in 200+ php & hhvm versions
<?php $foo = array ('bar', 'baz'); $foo = [ 'bar', 'baz', ]
Output for 7.1.25 - 7.3.5
Parse error: syntax error, unexpected end of file in /in/TBPLd on line 9
Process exited with code 255.