3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ref_func(&$val) { var_dump($val); } ref_func(range(1, 9));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4K1aO
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'ref_func'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 9
          4        DO_ICALL                                         $0      
          5        SEND_VAR_NO_REF                               0          $0
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

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

End of function ref_func

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.54 ms | 1397 KiB | 18 Q