3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oranges(&$oranges = 17){ $oranges .= 1; } $apples=5; oranges($apples); echo $apples++; // 51
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/URVXk
function name:  (null)
number of ops:  7
compiled vars:  !0 = $apples
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 5
    6     1        INIT_FCALL                                               'oranges'
          2        SEND_REF                                                 !0
          3        DO_FCALL                                      0          
    7     4        POST_INC                                         ~3      !0
          5        ECHO                                                     ~3
          6      > RETURN                                                   1

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

End of function oranges

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.31 ms | 1396 KiB | 14 Q