3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
341.39 ms | 1395 KiB | 19 Q