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