3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = array(); for($i = 0; $i < 16; $i++){ $r[] = rand(0, 25); } echo implode(',', $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/7mC9n
function name:  (null)
number of ops:  18
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                                               'rand'
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 25
          6        DO_ICALL                                         $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    >   INIT_FCALL                                               'implode'
         13        SEND_VAL                                                 '%2C'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $8      
         16        ECHO                                                     $8
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.01 ms | 1386 KiB | 17 Q