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", "General inquiry", "Mercedes CL500", "Youtube video", "Florida shipping", "Shipping to Ukraine" ); $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?", "My car is a cl55 01, and need a pump, can you contact me?", "I'm with a RacingTech in GA and need performance racks, please contact me.", "My steering pump makes a whine, is it going bad?", "Changes: I ordered a part but need it shipped elsewhere, please help!", "Do you install?", "My number is 212-881-7852, please call me, I have questions before I buy. Thank you.", "How can I pay with credit card?" ); $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", "somalia@ucf.net", "iluvcats@catlady.net", "whitechicksrule@ebony.com", "stonetemple@yahoo.uk", "trainhard@ua.net", "greenriver@gmail.com", "truenature@fagu.gov", "linkme@facebook.com", "fakelikes@facebook.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", "George Jungle", "Faney May Balls", "Din gal Berry", "Chad Bttons", "Slick Rick", "MC Hammer", "Dennis T. Menace" ); $index = 0; $max = 300; 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/8IN6T
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>
   33     1        ASSIGN                                                   !1, <array>
   64     2        ASSIGN                                                   !2, <array>
   97     3        ASSIGN                                                   !3, <array>
  130     4        ASSIGN                                                   !4, 0
  131     5        ASSIGN                                                   !5, 300
  132     6      > JMP                                                      ->69
  133     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
  134    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
  135    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
  136    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
  137    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
  138    54        INIT_FCALL                                               'usleep'
         55        SEND_VAL                                                 500
         56        DO_ICALL                                                 
  139    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                                                 
  141    65        CONCAT                                           ~56     'sent+', !4
         66        CONCAT                                           ~57     ~56, '%3Cbr%2F%3E'
         67        ECHO                                                     ~57
  142    68        PRE_INC                                                  !4
  132    69    >   IS_NOT_EQUAL                                             !4, !5
         70      > JMPNZ                                                    ~59, ->7
  144    71    >   ECHO                                                     'Done'
  145    72      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.73 ms | 1400 KiB | 19 Q