3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(2,20); # make an array for tokens using rnage foreach($range as $k){ $tokens["token{$k}h"] = substr(str_shuffle("0p23456789ABCDEFGHIJKLMNoPQRSZUVWXYZ"), 0, 20); } print_r($tokens); # make token variables using range foreach($range as $k){ ${"token{$k}h"} = substr(str_shuffle("0p23456789ABCDEFGHIJKLMNoPQRSZUVWXYZ"), 0, 20); } echo $token10h; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 21
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 21
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 21
2 jumps found. (Code = 77) Position 1 = 26, Position 2 = 41
Branch analysis from position: 26
2 jumps found. (Code = 78) Position 1 = 27, Position 2 = 41
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
Branch analysis from position: 21
filename:       /in/R2LRF
function name:  (null)
number of ops:  44
compiled vars:  !0 = $range, !1 = $k, !2 = $tokens, !3 = $token10h
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 2
          2        SEND_VAL                                                 20
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
    5     5      > FE_RESET_R                                       $6      !0, ->21
          6    > > FE_FETCH_R                                               $6, !1, ->21
    6     7    >   ROPE_INIT                                     3  ~8      'token'
          8        ROPE_ADD                                      1  ~8      ~8, !1
          9        ROPE_END                                      2  ~7      ~8, 'h'
         10        INIT_FCALL                                               'substr'
         11        INIT_FCALL                                               'str_shuffle'
         12        SEND_VAL                                                 '0p23456789ABCDEFGHIJKLMNoPQRSZUVWXYZ'
         13        DO_ICALL                                         $11     
         14        SEND_VAR                                                 $11
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 20
         17        DO_ICALL                                         $12     
         18        ASSIGN_DIM                                               !2, ~7
         19        OP_DATA                                                  $12
    5    20      > JMP                                                      ->6
         21    >   FE_FREE                                                  $6
    9    22        INIT_FCALL                                               'print_r'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                                 
   12    25      > FE_RESET_R                                       $14     !0, ->41
         26    > > FE_FETCH_R                                               $14, !1, ->41
   13    27    >   ROPE_INIT                                     3  ~16     'token'
         28        ROPE_ADD                                      1  ~16     ~16, !1
         29        ROPE_END                                      2  ~15     ~16, 'h'
         30        INIT_FCALL                                               'substr'
         31        INIT_FCALL                                               'str_shuffle'
         32        SEND_VAL                                                 '0p23456789ABCDEFGHIJKLMNoPQRSZUVWXYZ'
         33        DO_ICALL                                         $19     
         34        SEND_VAR                                                 $19
         35        SEND_VAL                                                 0
         36        SEND_VAL                                                 20
         37        DO_ICALL                                         $20     
         38        FETCH_W                      local               $18     ~15
         39        ASSIGN                                                   $18, $20
   12    40      > JMP                                                      ->26
         41    >   FE_FREE                                                  $14
   16    42        ECHO                                                     !3
   17    43      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.31 ms | 1018 KiB | 17 Q