3v4l.org

run code in 300+ PHP versions simultaneously
<?php function recursive ($i) { echo $i.' '; $i--; if($i > 0) recursive($i); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/leEVg
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   1

Function recursive:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/leEVg
function name:  recursive
number of ops:  10
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        CONCAT                                           ~1      !0, '+'
          2        ECHO                                                     ~1
    6     3        PRE_DEC                                                  !0
    7     4        IS_SMALLER                                               0, !0
          5      > JMPZ                                                     ~3, ->9
    8     6    >   INIT_FCALL_BY_NAME                                       'recursive'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
    9     9    > > RETURN                                                   null

End of function recursive

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.14 ms | 1393 KiB | 13 Q