3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.42 ms | 1395 KiB | 17 Q