3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.9 ms | 1395 KiB | 17 Q