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*tuv_w-x=y+zAB:C?|D/E?F>GH<IJKLMNOPQRSTUVWXYZ0123456789'); //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/abgEv
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%2Atuv_w-x%3Dy%2BzAB%3AC%3F%7CD%2FE%3FF%3EGH%3CIJKLMNOPQRSTUVWXYZ0123456789'
          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:
150.57 ms | 1395 KiB | 17 Q