3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ "Armstrong_Tony" => 7, "Blair_Jarryd" => 7, "Broomhead_Tim" => 11 ], [ "Armstrong_Tony" => 19, "Ball_Luke" => 20, "Blair_Jarryd" => 20, "Broomhead_Tim" => 23 ], [ "Ball_Luke" => 20, "Beams_Dayne" => 14, "Blair_Jarryd" => 19, "Frost_Jack" => 8, "Goldsack_Tyson" => 7 ] ]; var_export( array_map( function($data) { $data = (array) $data; return array_sum($data) / count($data); }, array_merge_recursive(...$array) ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 'Armstrong_Tony' => 13, 'Blair_Jarryd' => 15.333333333333334, 'Broomhead_Tim' => 17, 'Ball_Luke' => 20, 'Beams_Dayne' => 14, 'Frost_Jack' => 8, 'Goldsack_Tyson' => 7, )

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:
120.94 ms | 405 KiB | 5 Q