3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 0 => array( 'gozhi' => 2, 'uzorong' => 1, 'ngangla' => 4, 'langthel' => 5 ), 1 => array( 'gozhi' => 5, 'uzorong' => 0, 'ngangla' => 3, 'langthel' => 2 ), 2 => array( 'gozhi' => 3, 'uzorong' => 0, 'ngangla' => 1, 'langthel' => 3 ), ); $res = array_map(function($item) { return array_map(function() { return array_sum(func_get_args()); }, $item)}, $data); var_dump($res);
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '}' in /in/3atub on line 24
Process exited with code 255.