- array_map: documentation ( source)
- max: documentation ( source)
- min: documentation ( source)
<html>
<body>
<?php
$arrays = array("generate "," unique "," to "," numbers "," within "," a ");
$arrays_1 = array_map('strlen', $my_array);
echo "The shortest array length is " . min($arrays_1) .
". The longest array length is " . max($arrays_1).'.';
?>
</html>
</body>