3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = 38; $c = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890-_'; for ($x=0; $x<$n; $x++) { $r .= substr($c, mt_rand(0, strlen($c) - 1), 1); } echo $r;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
filename:       /in/jZYJs
function name:  (null)
number of ops:  21
compiled vars:  !0 = $n, !1 = $c, !2 = $x, !3 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 38
    3     1        ASSIGN                                                   !1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890-_'
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->17
    6     4    >   INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !1
          6        INIT_FCALL                                               'mt_rand'
          7        SEND_VAL                                                 0
          8        STRLEN                                           ~7      !1
          9        SUB                                              ~8      ~7, 1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        SEND_VAL                                                 1
         14        DO_ICALL                                         $10     
         15        ASSIGN_OP                                     8          !3, $10
    5    16        PRE_INC                                                  !2
         17    >   IS_SMALLER                                               !2, !0
         18      > JMPNZ                                                    ~13, ->4
    9    19    >   ECHO                                                     !3
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.33 ms | 1395 KiB | 17 Q