3v4l.org

run code in 300+ PHP versions simultaneously
<?php header("content-type: text/plain"); $ii=0; $endrange='zzz';$endrange++; var_dump($endrange);die(); for($i="aaa";$i<'zzz'+1;++$i){echo $i,PHP_EOL;};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/kMs9W
function name:  (null)
number of ops:  19
compiled vars:  !0 = $ii, !1 = $endrange, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'content-type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, 0
    4     4        ASSIGN                                                   !1, 'zzz'
          5        PRE_INC                                                  !1
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > EXIT                                                     
    6    10*       ASSIGN                                                   !2, 'aaa'
         11*       JMP                                                      ->15
         12*       ECHO                                                     !2
         13*       ECHO                                                     '%0A'
         14*       PRE_INC                                                  !2
         15*       ADD                                              ~10     'zzz', 1
         16*       IS_SMALLER                                               !2, ~10
         17*       JMPNZ                                                    ~11, ->12
         18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.75 ms | 1394 KiB | 17 Q