3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 0; while($x < 20) { $red = rand(0,61); $a_z_10 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; $r_char = $a_z_10[$red]; $red = rand(0,61); $g1_char = $a_z_10[$red]; $red = rand(0,61); $g2_char = $a_z_10[$red]; $red = rand(0,61); $g3_char = $a_z_10[$red]; $string = $r_char . $g1_char . $g2_char . $g3_char; echo '<a href="http://puu.sh/' . $string . '">http://puu.sh/' . $string . '</a><br />'; $x++; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 41
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 2
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 2
Branch analysis from position: 43
Branch analysis from position: 2
filename:       /in/a0saf
function name:  (null)
number of ops:  44
compiled vars:  !0 = $x, !1 = $red, !2 = $a_z_10, !3 = $r_char, !4 = $g1_char, !5 = $g2_char, !6 = $g3_char, !7 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1      > JMP                                                      ->41
    7     2    >   INIT_FCALL                                               'rand'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 61
          5        DO_ICALL                                         $9      
          6        ASSIGN                                                   !1, $9
    8     7        ASSIGN                                                   !2, 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
   10     8        FETCH_DIM_R                                      ~12     !2, !1
          9        ASSIGN                                                   !3, ~12
   12    10        INIT_FCALL                                               'rand'
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 61
         13        DO_ICALL                                         $14     
         14        ASSIGN                                                   !1, $14
   13    15        FETCH_DIM_R                                      ~16     !2, !1
         16        ASSIGN                                                   !4, ~16
   15    17        INIT_FCALL                                               'rand'
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 61
         20        DO_ICALL                                         $18     
         21        ASSIGN                                                   !1, $18
   16    22        FETCH_DIM_R                                      ~20     !2, !1
         23        ASSIGN                                                   !5, ~20
   18    24        INIT_FCALL                                               'rand'
         25        SEND_VAL                                                 0
         26        SEND_VAL                                                 61
         27        DO_ICALL                                         $22     
         28        ASSIGN                                                   !1, $22
   19    29        FETCH_DIM_R                                      ~24     !2, !1
         30        ASSIGN                                                   !6, ~24
   21    31        CONCAT                                           ~26     !3, !4
         32        CONCAT                                           ~27     ~26, !5
         33        CONCAT                                           ~28     ~27, !6
         34        ASSIGN                                                   !7, ~28
   23    35        CONCAT                                           ~30     '%3Ca+href%3D%22http%3A%2F%2Fpuu.sh%2F', !7
         36        CONCAT                                           ~31     ~30, '%22%3Ehttp%3A%2F%2Fpuu.sh%2F'
         37        CONCAT                                           ~32     ~31, !7
         38        CONCAT                                           ~33     ~32, '%3C%2Fa%3E%3Cbr+%2F%3E'
         39        ECHO                                                     ~33
   24    40        PRE_INC                                                  !0
    4    41    >   IS_SMALLER                                               !0, 20
         42      > JMPNZ                                                    ~35, ->2
   26    43    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.06 ms | 1400 KiB | 15 Q