3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _recharge_order($id, $data) { $f = new ReflectionFunction($funcName); $result = array(); // foreach ($f->getParameters() as $param) { // $result[$param->name] = $param->name; // } var_dump(func_get_args()); return ['id' => $id, 'data' => $data]; } _recharge_order();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/emBgb
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               '_recharge_order'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function _recharge_order:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/emBgb
function name:  _recharge_order
number of ops:  15
compiled vars:  !0 = $id, !1 = $data, !2 = $f, !3 = $funcName, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        NEW                                              $5      'ReflectionFunction'
          3        SEND_VAR_EX                                              !3
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $5
    5     6        ASSIGN                                                   !4, <array>
    9     7        INIT_FCALL                                               'var_dump'
          8        FUNC_GET_ARGS                                    ~9      
          9        SEND_VAL                                                 ~9
         10        DO_ICALL                                                 
   10    11        INIT_ARRAY                                       ~11     !0, 'id'
         12        ADD_ARRAY_ELEMENT                                ~11     !1, 'data'
         13      > RETURN                                                   ~11
   11    14*     > RETURN                                                   null

End of function _recharge_order

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.02 ms | 1397 KiB | 16 Q