3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(20); while ($i<=10) { echo "i=$i "; sleep(1); $i++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
Branch analysis from position: 4
filename:       /in/kYcrK
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 20
          2        DO_ICALL                                                 
    5     3      > JMP                                                      ->12
    7     4    >   ROPE_INIT                                     3  ~3      'i%3D'
          5        ROPE_ADD                                      1  ~3      ~3, !0
          6        ROPE_END                                      2  ~2      ~3, '+'
          7        ECHO                                                     ~2
    8     8        INIT_FCALL                                               'sleep'
          9        SEND_VAL                                                 1
         10        DO_ICALL                                                 
    9    11        PRE_INC                                                  !0
    5    12    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         13      > JMPNZ                                                    ~7, ->4
   10    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.61 ms | 1386 KiB | 17 Q