3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function mycallback(&$result, $current) { $result[$current] = $current; } var_dump(array_reduce('mycallback', range('a', 'z'));
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/cV0jA on line 7
Process exited with code 255.