3v4l.org

run code in 300+ PHP versions simultaneously
<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>
Output for git.master, git.master_jit, rfc.property-hooks
<html> <body> The shortest array length is 3. The longest array length is 9. </html> </body>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.86 ms | 401 KiB | 8 Q