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_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 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
Branch analysis from position: 4
filename:       /in/MOKE3
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                                                      ->10
    5     4    >   ECHO                                                     '%3Cbr%3E+Line+to+show.%0A'
    7     5        INIT_FCALL                                               'ob_flush'
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'flush'
          8        DO_ICALL                                                 
    3     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 10
         11      > JMPNZ                                                    ~6, ->4
   10    12    >   INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'ob_get_status'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                                 
   11    18        ECHO                                                     'Done.'
   13    19        INIT_FCALL                                               'ob_end_flush'
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.6 ms | 1395 KiB | 25 Q