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"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ld6l9
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   1

Function args:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ld6l9
function name:  args
number of ops:  10
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          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:
149.12 ms | 1394 KiB | 15 Q