3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.17 ms | 1395 KiB | 17 Q