3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function show_spanish($n, $m) { return ("Nomor $n di spanyol disebut dengan $m"); } function map_spanish($n, $m) { return (array($n => $m)); } $off == array( array("1" => "uno"), array("2" => "dos"), array("3" => "tres"), array("4" => "cuatro"), array("5" => "cinco") ); ); $c = array_map("show_spanish", $off); print_r($c); $d = array_map("map_spanish", $off); print_r($d);
Output for 5.3.0 - 5.4.18
Parse error: syntax error, unexpected ')' in /in/0ROO1 on line 20
Process exited with code 255.