3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('a' => 'elem', 'b' => 'elb'); $f = function($k, $v) {var_dump($k,$v);}; var_dump(array_map($f, $a);
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected ';' in /in/bZ6j3 on line 5
Process exited with code 255.