test_array_map

Run Settings
LanguagePHP
Language Version
Run Command
<?php function cube($n) { return($n * $n * $n); } $a = array(1, 2, 3, 4, 5); $b = array_map("cube", $a); print_r($b); ?>
Editor Settings
Theme
Key bindings
Full width
Lines