3v4l.org

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

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

End of function do_a_thing

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.85 ms | 1397 KiB | 18 Q