3v4l.org

run code in 300+ PHP versions simultaneously
<?php $l = 'a'; $i = 0; $a = []; while($i++ < 1000) { $a[] = md5($l++); } echo '<pre>'; print_r($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/ulk6n
function name:  (null)
number of ops:  18
compiled vars:  !0 = $l, !1 = $i, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a'
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, <array>
    6     3      > JMP                                                      ->10
    7     4    >   INIT_FCALL                                               'md5'
          5        POST_INC                                         ~7      !0
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                         $8      
          8        ASSIGN_DIM                                               !2
          9        OP_DATA                                                  $8
    6    10    >   POST_INC                                         ~9      !1
         11        IS_SMALLER                                               ~9, 1000
         12      > JMPNZ                                                    ~10, ->4
   10    13    >   ECHO                                                     '%3Cpre%3E'
   11    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.7 ms | 1399 KiB | 17 Q