3v4l.org

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

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

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.05 ms | 1388 KiB | 18 Q