3v4l.org

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

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

End of function oranges

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1401 KiB | 14 Q