3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(20); $i = 0; while ($i<=10) { echo "i=$i "; sleep(1); $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 = 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/AglsZ
function name:  (null)
number of ops:  16
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        ASSIGN                                                   !0, 0
    7     4      > JMP                                                      ->13
    9     5    >   ROPE_INIT                                     3  ~4      'i%3D'
          6        ROPE_ADD                                      1  ~4      ~4, !0
          7        ROPE_END                                      2  ~3      ~4, '+'
          8        ECHO                                                     ~3
   10     9        INIT_FCALL                                               'sleep'
         10        SEND_VAL                                                 1
         11        DO_ICALL                                                 
   11    12        PRE_INC                                                  !0
    7    13    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         14      > JMPNZ                                                    ~8, ->5
   12    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.82 ms | 1394 KiB | 17 Q