3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ref(&$ref) {} ref($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qlaBA
function name:  (null)
number of ops:  4
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ref'
          1        SEND_REF                                                 !0
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function ref:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qlaBA
function name:  ref
number of ops:  2
compiled vars:  !0 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function ref

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.09 ms | 941 KiB | 15 Q