3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i>-1;$i--) { if($i==0 && !isset($countdown)) { $i = 100; $countdown = true; } echo $i . "<br />"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
Branch analysis from position: 2
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/FhNaG
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i, !1 = $countdown
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->13
    5     2    >   IS_EQUAL                                         ~3      !0, 0
          3      > JMPZ_EX                                          ~3      ~3, ->7
          4    >   ISSET_ISEMPTY_CV                                 ~4      !1
          5        BOOL_NOT                                         ~5      ~4
          6        BOOL                                             ~3      ~5
          7    > > JMPZ                                                     ~3, ->10
    6     8    >   ASSIGN                                                   !0, 100
    7     9        ASSIGN                                                   !1, <true>
    9    10    >   CONCAT                                           ~8      !0, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~8
    3    12        PRE_DEC                                                  !0
         13    >   IS_SMALLER                                               -1, !0
         14      > JMPNZ                                                    ~10, ->2
   10    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.35 ms | 1385 KiB | 13 Q