3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
$array = [ "foo" => "bar", "bar" => "foo", ];<?php
Output for 5.4.0 - 5.5.12
Parse error: syntax error, unexpected end of file in /in/odKM7 on line 4
Process exited with code 255.
Output for 4.3.0 - 5.3.29
$array = [ "foo" => "bar", "bar" => "foo", ];<?php