3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array(); $c=''; for ($i=0;$i<=9999;$i++) { $arr[]=uniqid('',true); } foreach ($arr as $cur) { $c.=$cur; } echo strlen($c); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/W24iG
function name:  (null)
number of ops:  21
compiled vars:  !0 = $arr, !1 = $c, !2 = $i, !3 = $cur
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, ''
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->11
    6     4    >   INIT_FCALL                                               'uniqid'
          5        SEND_VAL                                                 ''
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $8      
          8        ASSIGN_DIM                                               !0
          9        OP_DATA                                                  $8
    4    10        PRE_INC                                                  !2
         11    >   IS_SMALLER_OR_EQUAL                                      !2, 9999
         12      > JMPNZ                                                    ~10, ->4
    8    13    > > FE_RESET_R                                       $11     !0, ->17
         14    > > FE_FETCH_R                                               $11, !3, ->17
   10    15    >   ASSIGN_OP                                     8          !1, !3
    8    16      > JMP                                                      ->14
         17    >   FE_FREE                                                  $11
   12    18        STRLEN                                           ~13     !1
         19        ECHO                                                     ~13
   13    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.86 ms | 1395 KiB | 15 Q