3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.44 ms | 1394 KiB | 17 Q