3v4l.org

run code in 300+ PHP versions simultaneously
<?php $md5 = array('x'); for($i=0; $i < 10000; $i++){ $md5[] = md5($md5[count($md5)-1]); }
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 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/lgnR0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $md5, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    6     3    >   INIT_FCALL                                               'md5'
          4        COUNT                                            ~5      !0
          5        SUB                                              ~6      ~5, 1
          6        FETCH_DIM_R                                      ~7      !0, ~6
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                         $8      
          9        ASSIGN_DIM                                               !0
         10        OP_DATA                                                  $8
    5    11        PRE_INC                                                  !1
         12    >   IS_SMALLER                                               !1, 10000
         13      > JMPNZ                                                    ~10, ->3
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.21 ms | 1394 KiB | 15 Q