<?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.4.18
- Parse error: syntax error, unexpected ')' in /in/0ROO1 on line 20
Process exited with code 255. - Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
- Parse error: syntax error, unexpected ')' in /in/fjLqt on line 20
Process exited with code 255.
preferences:
176.32 ms | 1399 KiB | 54 Q