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