3v4l.org

run code in 300+ PHP versions simultaneously
<?php function somma() { return array_sum(func_get_args()); } echo somma(1, 10, 100, 1000); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4KX0X
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'somma'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 10
          3        SEND_VAL                                                 100
          4        SEND_VAL                                                 1000
          5        DO_FCALL                                      0  $0      
          6        ECHO                                                     $0
    8     7      > RETURN                                                   1

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

End of function somma

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.43 ms | 1397 KiB | 16 Q