3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function getData() { return array('hello' => 'world'); } function test() { return (($a = getData(), $a['hello']) ? : TRUE); }
Output for 5.3.0 - 5.3.24, 5.3.26, 5.4.0 - 5.4.17
Parse error: syntax error, unexpected ',' in /in/3T60O on line 9
Process exited with code 255.
Output for 5.3.25, 5.3.27
Parse error: syntax error, unexpected ',' in /in/ACm4E on line 9
Process exited with code 255.