3v4l.org

run code in 300+ PHP versions simultaneously
<?php function FUNTIK($key){ if ($key<5){ echo "0: $key\n"; $key++; FUNTIK($key); echo "KEY: $key"; } } FUNTIK(0); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HFDLU
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'funtik'
          1        SEND_VAL                                                 0
          2        DO_FCALL                                      0          
   13     3      > RETURN                                                   1

Function funtik:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/HFDLU
function name:  FUNTIK
number of ops:  15
compiled vars:  !0 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        IS_SMALLER                                               !0, 5
          2      > JMPZ                                                     ~1, ->14
    4     3    >   ROPE_INIT                                     3  ~3      '0%3A+'
          4        ROPE_ADD                                      1  ~3      ~3, !0
          5        ROPE_END                                      2  ~2      ~3, '%0A'
          6        ECHO                                                     ~2
    5     7        PRE_INC                                                  !0
    6     8        INIT_FCALL_BY_NAME                                       'FUNTIK'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
    7    11        NOP                                                      
         12        FAST_CONCAT                                      ~7      'KEY%3A+', !0
         13        ECHO                                                     ~7
    9    14    > > RETURN                                                   null

End of function funtik

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.04 ms | 1397 KiB | 14 Q