3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array(); for ($i=0;$i<=999999;$i++) { $arr[]=uniqid(); } foreach ($arr as $cur) { $arr1[]=$cur; } ?>

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
Branch analysis from position: 3
filename:       /in/Y5QBe
function name:  (null)
number of ops:  17
compiled vars:  !0 = $arr, !1 = $i, !2 = $cur, !3 = $arr1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->8
    5     3    >   INIT_FCALL                                               'uniqid'
          4        DO_ICALL                                         $7      
          5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  $7
    3     7        PRE_INC                                                  !1
          8    >   IS_SMALLER_OR_EQUAL                                      !1, 999999
          9      > JMPNZ                                                    ~9, ->3
    7    10    > > FE_RESET_R                                       $10     !0, ->15
         11    > > FE_FETCH_R                                               $10, !2, ->15
    9    12    >   ASSIGN_DIM                                               !3
         13        OP_DATA                                                  !2
    7    14      > JMP                                                      ->11
         15    >   FE_FREE                                                  $10
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.27 ms | 1399 KiB | 15 Q