3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show."; ob_flush(); flush(); echo ob_get_level(); } echo ob_get_level(); echo "Done."; ob_end_flush();
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 = 4
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
Branch analysis from position: 4
filename:       /in/Ss2o7
function name:  (null)
number of ops:  22
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                                                      ->13
    5     4    >   ECHO                                                     '%3Cbr%3E+Line+to+show.'
    7     5        INIT_FCALL                                               'ob_flush'
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'flush'
          8        DO_ICALL                                                 
    9     9        INIT_FCALL                                               'ob_get_level'
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
    3    12        PRE_INC                                                  !0
         13    >   IS_SMALLER                                               !0, 10
         14      > JMPNZ                                                    ~7, ->4
   11    15    >   INIT_FCALL                                               'ob_get_level'
         16        DO_ICALL                                         $8      
         17        ECHO                                                     $8
   12    18        ECHO                                                     'Done.'
   14    19        INIT_FCALL                                               'ob_end_flush'
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.11 ms | 1399 KiB | 23 Q