3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scores = [ 'user_a' => [75, 67, 80, 90, 20, 80], 'user_b' => [65, 70, 80, 90, 20, 80], 'user_c' => [56, 70, 75, 80, 50, 70], 'user_d' => [40, 50, 89, 56, 45, 78], 'user_e' => [60, 80, 90, 78, 80, 76], ]; $max = array_map( 'max', array_map(null, ...array_values($scores)) ); print_r($max);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 75 [1] => 80 [2] => 90 [3] => 90 [4] => 80 [5] => 80 )

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