3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['gozhi' => 2, 'uzorong' => 1, 'ngangla' => 4, 'langthel' => 5], ['uzorong' => 0, 'gozhi' => 5, 'ngangla' => 3, 'langthel' => 2], ['gozhi' => 3, 'uzorong' => 0, 'ngangla' => 1, 'langthel' => 3], ]; var_export( call_user_func_array( 'array_map', array_merge(['sum'], $array) ) ); function sum() { return array_sum(func_get_args()); }
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 5, 1 => 6, 2 => 8, 3 => 10, )

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:
69.87 ms | 405 KiB | 9 Q