3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.06 ms | 1384 KiB | 13 Q