3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 4
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 4
Branch analysis from position: 21
Branch analysis from position: 4
filename:       /in/UcViZ
function name:  (null)
number of ops:  25
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                                                      ->19
    5     4    >   ECHO                                                     '%3Cbr%3E+Line+to+show.'
    6     5        INIT_FCALL                                               'str_pad'
          6        SEND_VAL                                                 ''
          7        SEND_VAL                                                 4096
          8        DO_ICALL                                         $3      
          9        CONCAT                                           ~4      $3, '%0A'
         10        ECHO                                                     ~4
    8    11        INIT_FCALL                                               'ob_flush'
         12        DO_ICALL                                                 
    9    13        INIT_FCALL                                               'flush'
         14        DO_ICALL                                                 
   10    15        INIT_FCALL                                               'sleep'
         16        SEND_VAL                                                 2
         17        DO_ICALL                                                 
    3    18        PRE_INC                                                  !0
         19    >   IS_SMALLER                                               !0, 10
         20      > JMPNZ                                                    ~9, ->4
   13    21    >   ECHO                                                     'Done.'
   15    22        INIT_FCALL                                               'ob_end_flush'
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.22 ms | 1395 KiB | 25 Q