3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.38 ms | 1395 KiB | 25 Q