3v4l.org

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

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

End of function by_ref

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.58 ms | 2939 KiB | 14 Q