3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = array( "Interested in", "More information", "Details", "Can you help?", "Steering bushing", "Looking for", "More information", "Do you have", "Need 1000", "eBay", "Payment info", "Minimum order", "How can I buy?", "Do you know?", "Mercedes Parts", "Acura Parts", "Honda Parts", "Mechanic Work", "ASE?", "ASE Ceritificate?", "Can you ship to", "Cannot trouble-shoot", "Tech information", "Job" ); $message = array( "I'm interested in purchasing 200 units, please contact me. Thanks", "I saw your site, but I need more information on this steering rack, thanks", "Can I buy online or through phone?", "Do you have a rack for a pinto 77?", "Can you tell me how long you take to ship?", "How long before I receive the part?", "Do you test?", "Do you repair everything?", "Do you replace bushings?", "Do you replace boots?", "Do you replace tie rods?", "Can you fax me your ASE certified certificate?", "Can I pickup the part?", "Do you install gearboxes?", "Send me information for installation!", "What warranty do you offer?", "I need to speak to the owner, can you call me?", "Are your staff ASE certified?", "My rack is hard to stear, can you help?", "Do you have pump for TC?", "Can you contact me, really interested.", "Do you have positition to hire?" ); $email = array( "carl@yahoo.com", "Steve@gmail.com", "John_carter@yahoo.com", "frank@msn.com", "clarice@gmail.com", "jesus@heaven.net", "shawn_martin@msc.com", "fayek@stoo.net", "darren.free@yahoo.com", "kids4me@yahoo.de", "gimmeparts@gmail.com", "looking4u@msn.com", "leonard@aol.com", "vodel@aol.com", "youareaslave@slave.net", "castof300@gmc.com", "kevin_for@hyundai.com", "common@col.net", "jmmin24@yahoo.com", "schoolteacher@gmail.com", "555@mail.ru", "yuri.uies@gmail.com" ); $name = array( "James King", "Jonathan Gulf", "Ginger Gotham", "Kennedy Fred", "Jim Ethan", "Kondor Ethan", "Alpha Beta", "Beatrice Cantor", "Charlie", "Delta Gama", "Echo Foxtrot", "Gulf November", "Henry the 8th", "India Black", "Juliet Candace", "Karen Beach", "Carol Entrop", "Justice Fay", "Dex Ter", "King of India", "James Homes", "Christian Adrian", "Elena Kormich", "Helen Odessa" ); $index = 0; $max = 500; while($index != $max){ $subject_index = rand(0, (sizeof($subject) / sizeof($subject[0]))-1); $message_index = rand(0, (sizeof($message) / sizeof($message[0]))-1); $email_index = rand(0, (sizeof($email) / sizeof($email[0]))-1); $name_index = rand(0, (sizeof($name) / sizeof($name[0]))-1); $header = "From: ". $name[$name_index] . " <" . $email[$email_index] . ">\r\n"; usleep(500); mail("support@americansteering.com", $subject[$subject_index], $message[$message_index], $header); //echo $subject[$subject_index] . " " . $message[$message_index] . " " . $header . "<br/>"; echo 'sent ' . $index . '<br/>'; $index++; } echo "Done";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 69
Branch analysis from position: 69
2 jumps found. (Code = 44) Position 1 = 71, Position 2 = 7
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 71, Position 2 = 7
Branch analysis from position: 71
Branch analysis from position: 7
filename:       /in/hHKuq
function name:  (null)
number of ops:  73
compiled vars:  !0 = $subject, !1 = $message, !2 = $email, !3 = $name, !4 = $index, !5 = $max, !6 = $subject_index, !7 = $message_index, !8 = $email_index, !9 = $name_index, !10 = $header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   28     1        ASSIGN                                                   !1, <array>
   52     2        ASSIGN                                                   !2, <array>
   76     3        ASSIGN                                                   !3, <array>
  102     4        ASSIGN                                                   !4, 0
  103     5        ASSIGN                                                   !5, 500
  104     6      > JMP                                                      ->69
  105     7    >   INIT_FCALL                                               'rand'
          8        SEND_VAL                                                 0
          9        COUNT                                            ~17     !0
         10        FETCH_DIM_R                                      ~18     !0, 0
         11        COUNT                                            ~19     ~18
         12        DIV                                              ~20     ~17, ~19
         13        SUB                                              ~21     ~20, 1
         14        SEND_VAL                                                 ~21
         15        DO_ICALL                                         $22     
         16        ASSIGN                                                   !6, $22
  106    17        INIT_FCALL                                               'rand'
         18        SEND_VAL                                                 0
         19        COUNT                                            ~24     !1
         20        FETCH_DIM_R                                      ~25     !1, 0
         21        COUNT                                            ~26     ~25
         22        DIV                                              ~27     ~24, ~26
         23        SUB                                              ~28     ~27, 1
         24        SEND_VAL                                                 ~28
         25        DO_ICALL                                         $29     
         26        ASSIGN                                                   !7, $29
  107    27        INIT_FCALL                                               'rand'
         28        SEND_VAL                                                 0
         29        COUNT                                            ~31     !2
         30        FETCH_DIM_R                                      ~32     !2, 0
         31        COUNT                                            ~33     ~32
         32        DIV                                              ~34     ~31, ~33
         33        SUB                                              ~35     ~34, 1
         34        SEND_VAL                                                 ~35
         35        DO_ICALL                                         $36     
         36        ASSIGN                                                   !8, $36
  108    37        INIT_FCALL                                               'rand'
         38        SEND_VAL                                                 0
         39        COUNT                                            ~38     !3
         40        FETCH_DIM_R                                      ~39     !3, 0
         41        COUNT                                            ~40     ~39
         42        DIV                                              ~41     ~38, ~40
         43        SUB                                              ~42     ~41, 1
         44        SEND_VAL                                                 ~42
         45        DO_ICALL                                         $43     
         46        ASSIGN                                                   !9, $43
  109    47        FETCH_DIM_R                                      ~45     !3, !9
         48        CONCAT                                           ~46     'From%3A+', ~45
         49        CONCAT                                           ~47     ~46, '+%3C'
         50        FETCH_DIM_R                                      ~48     !2, !8
         51        CONCAT                                           ~49     ~47, ~48
         52        CONCAT                                           ~50     ~49, '%3E%0D%0A'
         53        ASSIGN                                                   !10, ~50
  110    54        INIT_FCALL                                               'usleep'
         55        SEND_VAL                                                 500
         56        DO_ICALL                                                 
  111    57        INIT_FCALL                                               'mail'
         58        SEND_VAL                                                 'support%40americansteering.com'
         59        FETCH_DIM_R                                      ~53     !0, !6
         60        SEND_VAL                                                 ~53
         61        FETCH_DIM_R                                      ~54     !1, !7
         62        SEND_VAL                                                 ~54
         63        SEND_VAR                                                 !10
         64        DO_ICALL                                                 
  113    65        CONCAT                                           ~56     'sent+', !4
         66        CONCAT                                           ~57     ~56, '%3Cbr%2F%3E'
         67        ECHO                                                     ~57
  114    68        PRE_INC                                                  !4
  104    69    >   IS_NOT_EQUAL                                             !4, !5
         70      > JMPNZ                                                    ~59, ->7
  116    71    >   ECHO                                                     'Done'
         72      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.1 ms | 1392 KiB | 19 Q