3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.02 ms | 1395 KiB | 17 Q