3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <body> <?php $my_array = array("generate "," unique "," to "," numbers "," within "," a "); $new_array = array_map('strlen', $my_array); echo "The shortest array length is " . min($new_array) . ". The longest array length is " . max($new_array).'.'; ?> </html> </body>
based on NFKvX
Output for 4.3.0 - 7.1.0
<html> <body> The shortest array length is 3. The longest array length is 9. </html> </body>