3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array(); $c=''; for ($i=0;$i<=99999;$i++) { $arr[]=uniqid('',true); } $max=count($arr); for ($i=0;$i<$max;$i++) { $c.=$arr[$i]; } 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
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 17
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 17
Branch analysis from position: 22
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/pZQ0H
function name:  (null)
number of ops:  25
compiled vars:  !0 = $arr, !1 = $c, !2 = $i, !3 = $max
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, 99999
         12      > JMPNZ                                                    ~10, ->4
    8    13    >   COUNT                                            ~11     !0
         14        ASSIGN                                                   !3, ~11
    9    15        ASSIGN                                                   !2, 0
         16      > JMP                                                      ->20
   11    17    >   FETCH_DIM_R                                      ~14     !0, !2
         18        ASSIGN_OP                                     8          !1, ~14
    9    19        PRE_INC                                                  !2
         20    >   IS_SMALLER                                               !2, !3
         21      > JMPNZ                                                    ~17, ->17
   13    22    >   STRLEN                                           ~18     !1
         23        ECHO                                                     ~18
   14    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.77 ms | 1396 KiB | 15 Q