3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.47 ms | 1396 KiB | 27 Q