3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-type:text/html; charset=utf-8'); 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 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 11
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 11
Branch analysis from position: 28
Branch analysis from position: 11
Branch analysis from position: 9
filename:       /in/WUVY0
function name:  (null)
number of ops:  32
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-type%3Atext%2Fhtml%3B+charset%3Dutf-8'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ob_get_level'
          4        DO_ICALL                                         $2      
          5        IS_EQUAL                                                 $2, 0
          6      > JMPZ                                                     ~3, ->9
          7    >   INIT_FCALL                                               'ob_start'
          8        DO_ICALL                                                 
    5     9    >   ASSIGN                                                   !0, 0
         10      > JMP                                                      ->26
    7    11    >   ECHO                                                     '%3Cbr%3E+Line+to+show.'
    8    12        INIT_FCALL                                               'str_pad'
         13        SEND_VAL                                                 '+'
         14        SEND_VAL                                                 4096
         15        DO_ICALL                                         $6      
         16        CONCAT                                           ~7      $6, '%0A'
         17        ECHO                                                     ~7
   10    18        INIT_FCALL                                               'ob_flush'
         19        DO_ICALL                                                 
   11    20        INIT_FCALL                                               'flush'
         21        DO_ICALL                                                 
   12    22        INIT_FCALL                                               'sleep'
         23        SEND_VAL                                                 2
         24        DO_ICALL                                                 
    5    25        PRE_INC                                                  !0
         26    >   IS_SMALLER                                               !0, 10
         27      > JMPNZ                                                    ~12, ->11
   15    28    >   ECHO                                                     'Done.'
   17    29        INIT_FCALL                                               'ob_end_flush'
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1396 KiB | 29 Q