3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<500000;$i++) { $$i = md5($i); }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 9
Branch analysis from position: 9
Jump found. Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Jump found. Position 1 = -2
Branch analysis from position: 2
Jump found. Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/tqM7j
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 0
         1      > JMP                                                      ->9
   3     2    >   FETCH_W                      local               $2      !0
         3        INIT_FCALL                                               'md5'
         4        SEND_VAR                                                 !0
         5        DO_ICALL                                         $3      
         6        ASSIGN                                                   $2, $3
   2     7        POST_INC                                         ~5      !0
         8        FREE                                                     ~5
         9    >   IS_SMALLER                                       ~6      !0, 500000
        10      > JMPNZ                                                    ~6, ->2
        11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0