3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; $output = ''; // Beginnen met een lege string while ($i<=10) { $output .= "i=$i "; // String toevoegen echo $output; time_nanosleep(1, 0); $i++; } ?>
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 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/Mhs16
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, ''
    4     2      > JMP                                                      ->13
    5     3    >   ROPE_INIT                                     3  ~5      'i%3D'
          4        ROPE_ADD                                      1  ~5      ~5, !0
          5        ROPE_END                                      2  ~4      ~5, '+'
          6        ASSIGN_OP                                     8          !1, ~4
    6     7        ECHO                                                     !1
    7     8        INIT_FCALL                                               'time_nanosleep'
          9        SEND_VAL                                                 1
         10        SEND_VAL                                                 0
         11        DO_ICALL                                                 
    8    12        PRE_INC                                                  !0
    4    13    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         14      > JMPNZ                                                    ~10, ->3
   10    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.05 ms | 1394 KiB | 15 Q