3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1, 2, 3]); $b = array("one", "two", "three"); var_dump(array_map(function($number, $word) { return "$number is $word"; }, $a, $b)); ?>
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected ']', expecting ')' in /in/K9X25 on line 3
Process exited with code 255.