3v4l.org

run code in 300+ PHP versions simultaneously
<?php $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n"; $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;echo "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PVbH1
function name:  (null)
number of ops:  761
compiled vars:  !0 = $generated_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
          2        INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 25
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $2      
          9        INIT_FCALL                                               'mt_rand'
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 9
         12        DO_ICALL                                         $3      
         13        CONCAT                                           ~4      $2, $3
         14        INIT_FCALL                                               'substr'
         15        INIT_FCALL                                               'hash'
         16        SEND_VAL                                                 'sha256'
         17        INIT_FCALL                                               'time'
         18        DO_ICALL                                         $5      
         19        INIT_FCALL                                               'mt_rand'
         20        SEND_VAL                                                 100000
         21        SEND_VAL                                                 999999
         22        DO_ICALL                                         $6      
         23        CONCAT                                           ~7      $5, $6
         24        SEND_VAL                                                 ~7
         25        DO_ICALL                                         $8      
         26        SEND_VAR                                                 $8
         27        SEND_VAL                                                 0
         28        SEND_VAL                                                 6
         29        DO_ICALL                                         $9      
         30        CONCAT                                           ~10     ~4, $9
         31        ASSIGN                                                   !0, ~10
    4    32        INIT_FCALL                                               'strtoupper'
         33        SEND_VAR                                                 !0
         34        DO_ICALL                                         $12     
         35        ASSIGN                                                   !0, $12
    6    36        ECHO                                                     !0
         37        ECHO                                                     '%0A'
    7    38        INIT_FCALL                                               'substr'
         39        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
         40        INIT_FCALL                                               'mt_rand'
         41        SEND_VAL                                                 0
         42        SEND_VAL                                                 25
         43        DO_ICALL                                         $14     
         44        SEND_VAR                                                 $14
         45        SEND_VAL                                                 1
         46        DO_ICALL                                         $15     
         47        INIT_FCALL                                               'mt_rand'
         48        SEND_VAL                                                 0
         49        SEND_VAL                                                 9
         50        DO_ICALL                                         $16     
         51        CONCAT                                           ~17     $15, $16
         52        INIT_FCALL                                               'substr'
         53        INIT_FCALL                                               'hash'
         54        SEND_VAL                                                 'sha256'
         55        INIT_FCALL                                               'time'
         56        DO_ICALL                                         $18     
         57        INIT_FCALL                                               'mt_rand'
         58        SEND_VAL                                                 100000
         59        SEND_VAL                                                 999999
         60        DO_ICALL                                         $19     
         61        CONCAT                                           ~20     $18, $19
         62        SEND_VAL                                                 ~20
         63        DO_ICALL                                         $21     
         64        SEND_VAR                                                 $21
         65        SEND_VAL                                                 0
         66        SEND_VAL                                                 6
         67        DO_ICALL                                         $22     
         68        CONCAT                                           ~23     ~17, $22
         69        ASSIGN                                                   !0, ~23
    8    70        INIT_FCALL                                               'strtoupper'
         71        SEND_VAR                                                 !0
         72        DO_ICALL                                         $25     
         73        ASSIGN                                                   !0, $25
   10    74        ECHO                                                     !0
         75        ECHO                                                     '%0A'
   11    76        INIT_FCALL                                               'substr'
         77        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
         78        INIT_FCALL                                               'mt_rand'
         79        SEND_VAL                                                 0
         80        SEND_VAL                                                 25
         81        DO_ICALL                                         $27     
         82        SEND_VAR                                                 $27
         83        SEND_VAL                                                 1
         84        DO_ICALL                                         $28     
         85        INIT_FCALL                                               'mt_rand'
         86        SEND_VAL                                                 0
         87        SEND_VAL                                                 9
         88        DO_ICALL                                         $29     
         89        CONCAT                                           ~30     $28, $29
         90        INIT_FCALL                                               'substr'
         91        INIT_FCALL                                               'hash'
         92        SEND_VAL                                                 'sha256'
         93        INIT_FCALL                                               'time'
         94        DO_ICALL                                         $31     
         95        INIT_FCALL                                               'mt_rand'
         96        SEND_VAL                                                 100000
         97        SEND_VAL                                                 999999
         98        DO_ICALL                                         $32     
         99        CONCAT                                           ~33     $31, $32
        100        SEND_VAL                                                 ~33
        101        DO_ICALL                                         $34     
        102        SEND_VAR                                                 $34
        103        SEND_VAL                                                 0
        104        SEND_VAL                                                 6
        105        DO_ICALL                                         $35     
        106        CONCAT                                           ~36     ~30, $35
        107        ASSIGN                                                   !0, ~36
   12   108        INIT_FCALL                                               'strtoupper'
        109        SEND_VAR                                                 !0
        110        DO_ICALL                                         $38     
        111        ASSIGN                                                   !0, $38
   14   112        ECHO                                                     !0
        113        ECHO                                                     '%0A'
   15   114        INIT_FCALL                                               'substr'
        115        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        116        INIT_FCALL                                               'mt_rand'
        117        SEND_VAL                                                 0
        118        SEND_VAL                                                 25
        119        DO_ICALL                                         $40     
        120        SEND_VAR                                                 $40
        121        SEND_VAL                                                 1
        122        DO_ICALL                                         $41     
        123        INIT_FCALL                                               'mt_rand'
        124        SEND_VAL                                                 0
        125        SEND_VAL                                                 9
        126        DO_ICALL                                         $42     
        127        CONCAT                                           ~43     $41, $42
        128        INIT_FCALL                                               'substr'
        129        INIT_FCALL                                               'hash'
        130        SEND_VAL                                                 'sha256'
        131        INIT_FCALL                                               'time'
        132        DO_ICALL                                         $44     
        133        INIT_FCALL                                               'mt_rand'
        134        SEND_VAL                                                 100000
        135        SEND_VAL                                                 999999
        136        DO_ICALL                                         $45     
        137        CONCAT                                           ~46     $44, $45
        138        SEND_VAL                                                 ~46
        139        DO_ICALL                                         $47     
        140        SEND_VAR                                                 $47
        141        SEND_VAL                                                 0
        142        SEND_VAL                                                 6
        143        DO_ICALL                                         $48     
        144        CONCAT                                           ~49     ~43, $48
        145        ASSIGN                                                   !0, ~49
   16   146        INIT_FCALL                                               'strtoupper'
        147        SEND_VAR                                                 !0
        148        DO_ICALL                                         $51     
        149        ASSIGN                                                   !0, $51
   18   150        ECHO                                                     !0
        151        ECHO                                                     '%0A'
   19   152        INIT_FCALL                                               'substr'
        153        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        154        INIT_FCALL                                               'mt_rand'
        155        SEND_VAL                                                 0
        156        SEND_VAL                                                 25
        157        DO_ICALL                                         $53     
        158        SEND_VAR                                                 $53
        159        SEND_VAL                                                 1
        160        DO_ICALL                                         $54     
        161        INIT_FCALL                                               'mt_rand'
        162        SEND_VAL                                                 0
        163        SEND_VAL                                                 9
        164        DO_ICALL                                         $55     
        165        CONCAT                                           ~56     $54, $55
        166        INIT_FCALL                                               'substr'
        167        INIT_FCALL                                               'hash'
        168        SEND_VAL                                                 'sha256'
        169        INIT_FCALL                                               'time'
        170        DO_ICALL                                         $57     
        171        INIT_FCALL                                               'mt_rand'
        172        SEND_VAL                                                 100000
        173        SEND_VAL                                                 999999
        174        DO_ICALL                                         $58     
        175        CONCAT                                           ~59     $57, $58
        176        SEND_VAL                                                 ~59
        177        DO_ICALL                                         $60     
        178        SEND_VAR                                                 $60
        179        SEND_VAL                                                 0
        180        SEND_VAL                                                 6
        181        DO_ICALL                                         $61     
        182        CONCAT                                           ~62     ~56, $61
        183        ASSIGN                                                   !0, ~62
   20   184        INIT_FCALL                                               'strtoupper'
        185        SEND_VAR                                                 !0
        186        DO_ICALL                                         $64     
        187        ASSIGN                                                   !0, $64
   22   188        ECHO                                                     !0
        189        ECHO                                                     '%0A'
   23   190        INIT_FCALL                                               'substr'
        191        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        192        INIT_FCALL                                               'mt_rand'
        193        SEND_VAL                                                 0
        194        SEND_VAL                                                 25
        195        DO_ICALL                                         $66     
        196        SEND_VAR                                                 $66
        197        SEND_VAL                                                 1
        198        DO_ICALL                                         $67     
        199        INIT_FCALL                                               'mt_rand'
        200        SEND_VAL                                                 0
        201        SEND_VAL                                                 9
        202        DO_ICALL                                         $68     
        203        CONCAT                                           ~69     $67, $68
        204        INIT_FCALL                                               'substr'
        205        INIT_FCALL                                               'hash'
        206        SEND_VAL                                                 'sha256'
        207        INIT_FCALL                                               'time'
        208        DO_ICALL                                         $70     
        209        INIT_FCALL                                               'mt_rand'
        210        SEND_VAL                                                 100000
        211        SEND_VAL                                                 999999
        212        DO_ICALL                                         $71     
        213        CONCAT                                           ~72     $70, $71
        214        SEND_VAL                                                 ~72
        215        DO_ICALL                                         $73     
        216        SEND_VAR                                                 $73
        217        SEND_VAL                                                 0
        218        SEND_VAL                                                 6
        219        DO_ICALL                                         $74     
        220        CONCAT                                           ~75     ~69, $74
        221        ASSIGN                                                   !0, ~75
   24   222        INIT_FCALL                                               'strtoupper'
        223        SEND_VAR                                                 !0
        224        DO_ICALL                                         $77     
        225        ASSIGN                                                   !0, $77
   26   226        ECHO                                                     !0
        227        ECHO                                                     '%0A'
   27   228        INIT_FCALL                                               'substr'
        229        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        230        INIT_FCALL                                               'mt_rand'
        231        SEND_VAL                                                 0
        232        SEND_VAL                                                 25
        233        DO_ICALL                                         $79     
        234        SEND_VAR                                                 $79
        235        SEND_VAL                                                 1
        236        DO_ICALL                                         $80     
        237        INIT_FCALL                                               'mt_rand'
        238        SEND_VAL                                                 0
        239        SEND_VAL                                                 9
        240        DO_ICALL                                         $81     
        241        CONCAT                                           ~82     $80, $81
        242        INIT_FCALL                                               'substr'
        243        INIT_FCALL                                               'hash'
        244        SEND_VAL                                                 'sha256'
        245        INIT_FCALL                                               'time'
        246        DO_ICALL                                         $83     
        247        INIT_FCALL                                               'mt_rand'
        248        SEND_VAL                                                 100000
        249        SEND_VAL                                                 999999
        250        DO_ICALL                                         $84     
        251        CONCAT                                           ~85     $83, $84
        252        SEND_VAL                                                 ~85
        253        DO_ICALL                                         $86     
        254        SEND_VAR                                                 $86
        255        SEND_VAL                                                 0
        256        SEND_VAL                                                 6
        257        DO_ICALL                                         $87     
        258        CONCAT                                           ~88     ~82, $87
        259        ASSIGN                                                   !0, ~88
   28   260        INIT_FCALL                                               'strtoupper'
        261        SEND_VAR                                                 !0
        262        DO_ICALL                                         $90     
        263        ASSIGN                                                   !0, $90
   30   264        ECHO                                                     !0
        265        ECHO                                                     '%0A'
   31   266        INIT_FCALL                                               'substr'
        267        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        268        INIT_FCALL                                               'mt_rand'
        269        SEND_VAL                                                 0
        270        SEND_VAL                                                 25
        271        DO_ICALL                                         $92     
        272        SEND_VAR                                                 $92
        273        SEND_VAL                                                 1
        274        DO_ICALL                                         $93     
        275        INIT_FCALL                                               'mt_rand'
        276        SEND_VAL                                                 0
        277        SEND_VAL                                                 9
        278        DO_ICALL                                         $94     
        279        CONCAT                                           ~95     $93, $94
        280        INIT_FCALL                                               'substr'
        281        INIT_FCALL                                               'hash'
        282        SEND_VAL                                                 'sha256'
        283        INIT_FCALL                                               'time'
        284        DO_ICALL                                         $96     
        285        INIT_FCALL                                               'mt_rand'
        286        SEND_VAL                                                 100000
        287        SEND_VAL                                                 999999
        288        DO_ICALL                                         $97     
        289        CONCAT                                           ~98     $96, $97
        290        SEND_VAL                                                 ~98
        291        DO_ICALL                                         $99     
        292        SEND_VAR                                                 $99
        293        SEND_VAL                                                 0
        294        SEND_VAL                                                 6
        295        DO_ICALL                                         $100    
        296        CONCAT                                           ~101    ~95, $100
        297        ASSIGN                                                   !0, ~101
   32   298        INIT_FCALL                                               'strtoupper'
        299        SEND_VAR                                                 !0
        300        DO_ICALL                                         $103    
        301        ASSIGN                                                   !0, $103
   34   302        ECHO                                                     !0
        303        ECHO                                                     '%0A'
   35   304        INIT_FCALL                                               'substr'
        305        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        306        INIT_FCALL                                               'mt_rand'
        307        SEND_VAL                                                 0
        308        SEND_VAL                                                 25
        309        DO_ICALL                                         $105    
        310        SEND_VAR                                                 $105
        311        SEND_VAL                                                 1
        312        DO_ICALL                                         $106    
        313        INIT_FCALL                                               'mt_rand'
        314        SEND_VAL                                                 0
        315        SEND_VAL                                                 9
        316        DO_ICALL                                         $107    
        317        CONCAT                                           ~108    $106, $107
        318        INIT_FCALL                                               'substr'
        319        INIT_FCALL                                               'hash'
        320        SEND_VAL                                                 'sha256'
        321        INIT_FCALL                                               'time'
        322        DO_ICALL                                         $109    
        323        INIT_FCALL                                               'mt_rand'
        324        SEND_VAL                                                 100000
        325        SEND_VAL                                                 999999
        326        DO_ICALL                                         $110    
        327        CONCAT                                           ~111    $109, $110
        328        SEND_VAL                                                 ~111
        329        DO_ICALL                                         $112    
        330        SEND_VAR                                                 $112
        331        SEND_VAL                                                 0
        332        SEND_VAL                                                 6
        333        DO_ICALL                                         $113    
        334        CONCAT                                           ~114    ~108, $113
        335        ASSIGN                                                   !0, ~114
   36   336        INIT_FCALL                                               'strtoupper'
        337        SEND_VAR                                                 !0
        338        DO_ICALL                                         $116    
        339        ASSIGN                                                   !0, $116
   38   340        ECHO                                                     !0
        341        ECHO                                                     '%0A'
   39   342        INIT_FCALL                                               'substr'
        343        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        344        INIT_FCALL                                               'mt_rand'
        345        SEND_VAL                                                 0
        346        SEND_VAL                                                 25
        347        DO_ICALL                                         $118    
        348        SEND_VAR                                                 $118
        349        SEND_VAL                                                 1
        350        DO_ICALL                                         $119    
        351        INIT_FCALL                                               'mt_rand'
        352        SEND_VAL                                                 0
        353        SEND_VAL                                                 9
        354        DO_ICALL                                         $120    
        355        CONCAT                                           ~121    $119, $120
        356        INIT_FCALL                                               'substr'
        357        INIT_FCALL                                               'hash'
        358        SEND_VAL                                                 'sha256'
        359        INIT_FCALL                                               'time'
        360        DO_ICALL                                         $122    
        361        INIT_FCALL                                               'mt_rand'
        362        SEND_VAL                                                 100000
        363        SEND_VAL                                                 999999
        364        DO_ICALL                                         $123    
        365        CONCAT                                           ~124    $122, $123
        366        SEND_VAL                                                 ~124
        367        DO_ICALL                                         $125    
        368        SEND_VAR                                                 $125
        369        SEND_VAL                                                 0
        370        SEND_VAL                                                 6
        371        DO_ICALL                                         $126    
        372        CONCAT                                           ~127    ~121, $126
        373        ASSIGN                                                   !0, ~127
   40   374        INIT_FCALL                                               'strtoupper'
        375        SEND_VAR                                                 !0
        376        DO_ICALL                                         $129    
        377        ASSIGN                                                   !0, $129
   42   378        ECHO                                                     !0
        379        ECHO                                                     '%0A'
   43   380        INIT_FCALL                                               'substr'
        381        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
        382        INIT_FCALL                                               'mt_rand'
        383        SEND_VAL                                                 0
        384        SEND_VAL                                                 25
        385        DO_ICALL                                         $131    
        386        SEND_VAR                                                 $131
        387        SEND_VAL                                                 1
        388        DO_ICALL                                         $132    
        389        INIT_FCALL                                               'mt_rand'
        390        SEND_VAL                                                 0
        391        SEND_VAL                                                 9
        392        DO_ICALL                                         $133    
        393        CONCAT                                           ~134    $132, $133
        394        INIT_FCALL                                               'substr'
        395        INIT_FCALL                                               'hash'
        396   

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.98 ms | 1428 KiB | 23 Q