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()); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v0Tk3
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_export'
   11     2        INIT_FCALL                                               'array_map'
   13     3        INIT_FCALL                                               'array_merge'
          4        SEND_VAL                                                 <array>
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_ARRAY                                               $2
          8        CHECK_UNDEF_ARGS                                         
          9        DO_FCALL                                      0  $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
   20    12      > RETURN                                                   1

Function sum:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v0Tk3
function name:  sum
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   INIT_FCALL                                               'array_sum'
          1        FUNC_GET_ARGS                                    ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                         $1      
          4      > RETURN                                                   $1
   20     5*     > RETURN                                                   null

End of function sum

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.98 ms | 1395 KiB | 21 Q