3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); for($i=0;$i<2000; $i++){ if($i % 10){ ob_end_flush(); ob_start(); } echo $i; if($i==2000) break; } ob_end_flush();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
Branch analysis from position: 4
Branch analysis from position: 10
filename:       /in/DiqUf
function name:  (null)
number of ops:  20
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        ASSIGN                                                   !0, 0
          3      > JMP                                                      ->15
    4     4    >   MOD                                              ~3      !0, 10
          5      > JMPZ                                                     ~3, ->10
    5     6    >   INIT_FCALL                                               'ob_end_flush'
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'ob_start'
          9        DO_ICALL                                                 
    8    10    >   ECHO                                                     !0
    9    11        IS_EQUAL                                                 !0, 2000
         12      > JMPZ                                                     ~6, ->14
         13    > > JMP                                                      ->17
    3    14    >   PRE_INC                                                  !0
         15    >   IS_SMALLER                                               !0, 2000
         16      > JMPNZ                                                    ~8, ->4
   11    17    >   INIT_FCALL                                               'ob_end_flush'
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.82 ms | 1395 KiB | 17 Q