3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (ob_get_level() == 0) ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show."; echo str_pad('',4096)."\n"; ob_flush(); flush(); sleep(2); } echo "Done."; ob_end_flush();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 8
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 8
Branch analysis from position: 25
Branch analysis from position: 8
Branch analysis from position: 6
filename:       /in/KhFkW
function name:  (null)
number of ops:  29
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_get_level'
          1        DO_ICALL                                         $1      
          2        IS_EQUAL                                                 $1, 0
          3      > JMPZ                                                     ~2, ->6
          4    >   INIT_FCALL                                               'ob_start'
          5        DO_ICALL                                                 
    4     6    >   ASSIGN                                                   !0, 0
          7      > JMP                                                      ->23
    6     8    >   ECHO                                                     '%3Cbr%3E+Line+to+show.'
    7     9        INIT_FCALL                                               'str_pad'
         10        SEND_VAL                                                 ''
         11        SEND_VAL                                                 4096
         12        DO_ICALL                                         $5      
         13        CONCAT                                           ~6      $5, '%0A'
         14        ECHO                                                     ~6
    9    15        INIT_FCALL                                               'ob_flush'
         16        DO_ICALL                                                 
   10    17        INIT_FCALL                                               'flush'
         18        DO_ICALL                                                 
   11    19        INIT_FCALL                                               'sleep'
         20        SEND_VAL                                                 2
         21        DO_ICALL                                                 
    4    22        PRE_INC                                                  !0
         23    >   IS_SMALLER                                               !0, 10
         24      > JMPNZ                                                    ~11, ->8
   14    25    >   ECHO                                                     'Done.'
   16    26        INIT_FCALL                                               'ob_end_flush'
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.52 ms | 1396 KiB | 27 Q