3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'abcdefghijklmnopqrstuvwxyz0123456789'; for ($x=0,$r=null;$x<8;$x++) { $r .= substr($a, 0, mt_rand(0, strlen($a) - 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/VmOmS
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $x, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'abcdefghijklmnopqrstuvwxyz0123456789'
    5     1        ASSIGN                                                   !1, 0
          2        ASSIGN                                                   !2, null
          3      > JMP                                                      ->17
    6     4    >   INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 0
          7        INIT_FCALL                                               'mt_rand'
          8        SEND_VAL                                                 0
          9        STRLEN                                           ~6      !0
         10        SUB                                              ~7      ~6, 1
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                         $9      
         15        ASSIGN_OP                                     8          !2, $9
    5    16        PRE_INC                                                  !1
         17    >   IS_SMALLER                                               !1, 8
         18      > JMPNZ                                                    ~12, ->4
    9    19    >   ECHO                                                     !2
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.65 ms | 1395 KiB | 17 Q