3v4l.org

run code in 200+ php & hhvm versions
<?php $foo = array ('bar', 'baz'); $foo = [ 'bar', 'baz', ];
based on TBPLd
Output for 7.1.25 - 7.3.5