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(); sleep(1); } 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/uofcD
function name:  (null)
number of ops:  19
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                                               'sleep'
         10        SEND_VAL                                                 1
         11        DO_ICALL                                                 
    3    12        PRE_INC                                                  !0
         13    >   IS_SMALLER                                               !0, 10
         14      > JMPNZ                                                    ~7, ->4
   12    15    >   ECHO                                                     'Done.'
   14    16        INIT_FCALL                                               'ob_end_flush'
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.71 ms | 1395 KiB | 23 Q