- strtoupper: documentation ( source)
- array_walk_recursive: documentation ( source)
<?php
function up($text) {
echo strtoupper($text);
}
$array = array("hi", "bye", "how", "bY", array("test", "trial", array("hover")));
array_walk_recursive($array);
?>