3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar3 = array(123, array(12, 665, array(77, 255, 98, 56), 8), 1155, 676); $max = null; array_walk_recursive($ar3, function($v)use(&$max){if($max === null || $v > $max) $max = $v;}); echo $max;
Output for git.master_jit, git.master, rfc.property-hooks
1155

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:
57.83 ms | 401 KiB | 8 Q