3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(20); $i =1; while ($i<=10) { echo "i=$i "; sleep(10); $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/YFauf
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 20
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 1
    6     4      > JMP                                                      ->13
    8     5    >   ROPE_INIT                                     3  ~4      'i%3D'
          6        ROPE_ADD                                      1  ~4      ~4, !0
          7        ROPE_END                                      2  ~3      ~4, '+'
          8        ECHO                                                     ~3
    9     9        INIT_FCALL                                               'sleep'
         10        SEND_VAL                                                 10
         11        DO_ICALL                                                 
   10    12        PRE_INC                                                  !0
    6    13    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         14      > JMPNZ                                                    ~8, ->5
   11    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.39 ms | 1399 KiB | 17 Q