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", $subjects[$subject_index], $message[$message_index], $header); //echo $subject[$subject_index] . " " . $message[$message_index] . " " . $header . "<br/>"; echo 'sent ' . $index . '<br/>'; $index++; } echo "Done"; ?>

preferences:
34.44 ms | 402 KiB | 5 Q