3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i <= 10; $i += 1) { //loop to calculate parameters for substr $randcomb = str_shuffle('a0b1c2d3e4f5g6h7i8j9k0l!m@n#o$p%q^r&s*t(u)v_w-x=y+z[A}B]C|D/EFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+{}:|\<>?'); //creates a shuffled alphanumeric string //$param1 = ($i+6) - 6; //this formula ensures all integers are positive and above zero //$param2 = $param1 + 6; // this formula ensures all integers increment by 6 spaces //if($param2 >= 60) { //since the second parameter goes over 60 // $param2 = ($param1 + 6) - 6; //subtract 6 //} //$key = substr($randcomb, $param1, $param2); //generate random key //echo $key."<BR>"; //display it for debugging echo substr($randcomb, 0,6)."<BR>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/HgrU2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i, !1 = $randcomb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->14
    6     2    >   INIT_FCALL                                               'str_shuffle'
          3        SEND_VAL                                                 'a0b1c2d3e4f5g6h7i8j9k0l%21m%40n%23o%24p%25q%5Er%26s%2At%28u%29v_w-x%3Dy%2Bz%5BA%7DB%5DC%7CD%2FEFGHIJKLMNOPQRSTUVWXYZ0123456789%21%40%23%24%25%5E%26%2A%28%29_%2B%7B%7D%3A%7C%5C%3C%3E%3F'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   16     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 6
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      $5, '%3CBR%3E'
         12        ECHO                                                     ~6
    5    13        ASSIGN_OP                                     1          !0, 1
         14    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         15      > JMPNZ                                                    ~8, ->2
   17    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.59 ms | 1395 KiB | 17 Q