3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function show_spanish($off) { return ("Nomor $n di spanyol disebut dengan $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);
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: off in /in/m7eho on line 8 Notice: Undefined variable: off in /in/m7eho on line 15 Warning: array_map(): Argument #2 should be an array in /in/m7eho on line 15
Output for hhvm-3.12.0
Notice: Undefined variable: off in /in/m7eho on line 13 Notice: Undefined variable: off in /in/m7eho on line 15 Warning: array_map(): Argument #2 should be an array or collection
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.6.28
Notice: Undefined variable: off in /in/m7eho on line 13 Notice: Undefined variable: off in /in/m7eho on line 15 Warning: array_map(): Argument #2 should be an array in /in/m7eho on line 15
Output for 5.1.0 - 5.3.27, 5.4.0 - 5.4.17
Notice: Undefined variable: off in /in/7U4hJ on line 13 Notice: Undefined variable: off in /in/7U4hJ on line 15 Warning: array_map(): Argument #2 should be an array in /in/7U4hJ on line 15
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: off in /in/7U4hJ on line 7 Notice: Undefined variable: off in /in/7U4hJ on line 15 Warning: array_map(): Argument #2 should be an array in /in/7U4hJ on line 15
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: off in /in/7U4hJ on line 7 Notice: Undefined variable: off in /in/7U4hJ on line 15 Warning: array_map(): Argument #2 should be an array in /in/7U4hJ on line 15
Output for 4.3.1
Notice: Undefined variable: off in /in/7U4hJ on line 7 Notice: Undefined variable: off in /in/7U4hJ on line 15 Warning: array_map() [http://www.php.net/function.array-map]: Argument #2 should be an array in /in/7U4hJ on line 15
Output for 4.3.0
Notice: Undefined variable: off in /in/m7eho on line 7 Notice: Undefined variable: off in /in/m7eho on line 15 Warning: array_map() [http://www.php.net/function.array-map]: Argument #2 should be an array in /in/m7eho on line 15