3v4l.org

run code in 300+ PHP versions simultaneously
<?php function FUNTIK($key){ if ($key<5){ echo "0: $key\n"; $key++; FUNTIK($key); } } for ($i=0; $i<3;$i++){ FUNTIK($i); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
Branch analysis from position: 2
filename:       /in/OaYsd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->6
   11     2    >   INIT_FCALL                                               'funtik'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0          
   10     5        PRE_INC                                                  !0
          6    >   IS_SMALLER                                               !0, 3
          7      > JMPNZ                                                    ~4, ->2
   13     8    > > RETURN                                                   1

Function funtik:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/OaYsd
function name:  FUNTIK
number of ops:  12
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, ->11
    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          
    8    11    > > RETURN                                                   null

End of function funtik

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.31 ms | 1398 KiB | 14 Q