3v4l.org

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

Function byreference:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ANoJ3
function name:  byReference
number of ops:  4
compiled vars:  !0 = $variable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      5
    5     1        PRE_INC                                          ~1      !0
          2        ECHO                                                     ~1
    6     3      > RETURN                                                   null

End of function byreference

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.99 ms | 1388 KiB | 14 Q