3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('a' => 'John', 'b' => 'Coggeshall', 'c' => array('d' => 'John', 'e' => 'Smith')); function display($item, $key) { print "$key => $item\n"; } array_walk_recursive($array, "display");

preferences:
53.8 ms | 402 KiB | 5 Q