3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = array(array('id' => 1, 'fid' => 2), array('id' => 2, 'fid' => 2)); function a(array $data) { var_dump(func_get_args()); } a($b, 'fid', 'id'); var_dump($map);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K2GYY
function name:  (null)
number of ops:  10
compiled vars:  !0 = $b, !1 = $map
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'a'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'fid'
          4        SEND_VAL                                                 'id'
          5        DO_FCALL                                      0          
    9     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

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

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.15 ms | 1397 KiB | 16 Q