3v4l.org

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

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vSldn
function name:  test
number of ops:  12
compiled vars:  !0 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'var_dump'
          2        FUNC_GET_ARGS                                    ~1      
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
    6     5        ASSIGN_DIM                                               !0, 'hello'
          6        OP_DATA                                                  2
    7     7        INIT_FCALL                                               'var_dump'
          8        FUNC_GET_ARGS                                    ~4      
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
    8    11      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.29 ms | 1397 KiB | 16 Q