3v4l.org

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

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

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.68 ms | 1397 KiB | 18 Q