3v4l.org

run code in 300+ PHP versions simultaneously
<?php function args($arg = null) { print_r(func_get_args()); print "ARGS=".func_num_args()."\n"; } args();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bcgZi
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'args'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function args:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bcgZi
function name:  args
number of ops:  10
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
          1        INIT_FCALL                                               'print_r'
          2        FUNC_GET_ARGS                                    ~1      
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
          5        FUNC_NUM_ARGS                                    ~3      
          6        CONCAT                                           ~4      'ARGS%3D', ~3
          7        CONCAT                                           ~5      ~4, '%0A'
          8        ECHO                                                     ~5
          9      > RETURN                                                   null

End of function args

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.25 ms | 1388 KiB | 16 Q