3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Source: https://bugs.php.net/bug.php?id=61225 for ($i = 0; $i < 10000; $i++) { if (i % 1000 == 0) echo "$i. Helo World!"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
Branch analysis from position: 9
filename:       /in/ZgI02
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->10
    4     2    >   FETCH_CONSTANT                                   ~2      'i'
          3        MOD                                              ~3      ~2, 1000
          4        IS_EQUAL                                                 ~3, 0
          5      > JMPZ                                                     ~4, ->9
          6    >   NOP                                                      
          7        FAST_CONCAT                                      ~5      !0, '.+Helo+World%21'
          8        ECHO                                                     ~5
    3     9    >   PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 10000
         11      > JMPNZ                                                    ~7, ->2
    5    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.34 ms | 1397 KiB | 13 Q