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"; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0070.01016.36
7.3.00.0070.01116.33
7.2.130.0030.01816.99
7.2.120.0130.00916.73
7.2.110.0170.00416.80
7.2.100.0160.00616.60
7.2.90.0160.00716.42
7.2.80.0090.00716.46
7.2.70.0110.00416.82
7.2.60.0040.01916.80
7.2.50.0210.00416.63
7.2.40.0040.01816.79
7.2.30.0190.00316.62
7.2.20.0140.01116.80
7.2.10.0020.01416.54
7.2.00.0040.00917.98
7.1.250.0040.01915.43
7.1.70.0130.00017.19
7.1.60.0210.01219.32
7.1.50.0260.00417.17
7.1.00.0030.03722.33
7.0.200.0080.00416.57
7.0.140.0100.07022.12
7.0.100.0170.08019.88
7.0.90.0200.08019.99
7.0.80.0100.08019.88
7.0.70.0130.08319.88
7.0.60.0100.09319.92
7.0.50.0270.07720.34
7.0.40.0170.08720.05
7.0.30.0130.08319.90
7.0.20.0100.09020.07
7.0.10.0070.07320.08
7.0.00.0070.09019.94
5.6.280.0170.07020.80
5.6.250.0130.07320.57
5.6.240.0100.06720.68
5.6.230.0100.09020.57
5.6.220.0130.09320.59
5.6.210.0100.10020.56
5.6.200.0130.09021.01
5.6.190.0070.09021.00
5.6.180.0270.07021.09
5.6.170.0030.10321.09
5.6.160.0200.08021.08
5.6.150.0170.08321.11
5.6.140.0230.05021.11
5.6.130.0200.08321.00
5.6.120.0170.08321.05
5.6.110.0170.08321.05
5.6.100.0230.07320.92
5.6.90.0130.09021.03
5.6.80.0070.08720.49
5.6.70.0070.09020.42
5.6.60.0130.09020.39
5.6.50.0270.07320.37
5.6.40.0130.09020.37
5.6.30.0170.09020.41
5.6.20.0070.09020.30
5.6.10.0170.07320.46
5.6.00.0100.08720.27
5.5.380.0200.08320.33
5.5.370.0170.06720.58
5.5.360.0170.07020.43
5.5.350.0200.06320.43
5.5.340.0070.07320.99
5.5.330.0230.07020.97
5.5.320.0130.07321.01
5.5.310.0070.07720.97
5.5.300.0200.06320.98
5.5.290.0230.06320.93
5.5.280.0330.07020.89
5.5.270.0170.06720.86
5.5.260.0270.08720.74
5.5.250.0200.09020.80
5.5.240.0270.05320.37
5.5.230.0400.07320.16
5.5.220.0130.06020.12
5.5.210.0270.05720.21
5.5.200.0170.06720.28
5.5.190.0200.06020.22
5.5.180.0100.07020.33
5.5.160.0170.07020.06
5.5.150.0370.05020.09
5.5.140.0130.06320.23
5.5.130.0100.07020.27
5.5.120.0330.06720.35
5.5.110.0230.06020.23
5.5.100.0270.06020.05
5.5.90.0200.06720.14
5.5.80.0230.06020.17
5.5.70.0200.05720.05
5.5.60.0200.07320.21
5.5.50.0200.07320.14
5.5.40.0270.05320.05
5.5.30.0370.05020.23
5.5.20.0230.06320.23
5.5.10.0100.07020.13
5.5.00.0070.07020.15
5.4.450.0100.07319.38
5.4.440.0130.08019.34
5.4.430.0200.06319.35
5.4.420.0200.07719.45
5.4.410.0130.07019.38
5.4.400.0130.06319.21
5.4.390.0130.06319.02
5.4.380.0130.06319.02
5.4.370.0030.06718.98
5.4.360.0030.07019.13
5.4.350.0030.07718.98
5.4.340.0200.06019.07
5.4.320.0100.06719.00
5.4.310.0030.07319.07
5.4.300.0100.06319.04
5.4.290.0230.05318.81
5.4.280.0070.07018.85
5.4.270.0070.06719.09
5.4.260.0130.06319.18
5.4.250.0170.05718.87
5.4.240.0070.07319.09
5.4.230.0330.06319.14
5.4.220.0170.06018.93
5.4.210.0200.05318.97
5.4.200.0200.05018.98
5.4.190.0200.06319.17
5.4.180.0100.06319.02
5.4.170.0330.06319.17
5.4.160.0170.05719.05
5.4.150.0200.06018.96
5.4.140.0170.06716.39
5.4.130.0270.04716.29
5.4.120.0130.06016.25
5.4.110.0230.07016.34
5.4.100.0230.05316.43
5.4.90.0170.05716.40
5.4.80.0130.06016.36
5.4.70.0230.05016.22
5.4.60.0130.06316.42
5.4.50.0070.06716.20
5.4.40.0170.06016.40
5.4.30.0130.06016.39
5.4.20.0130.06016.39
5.4.10.0070.07316.21
5.4.00.0230.05315.74
5.3.290.0170.06314.38
5.3.280.0100.06314.36
5.3.270.0170.07314.40
5.3.260.0230.08014.38
5.3.250.0270.05014.39
5.3.240.0230.05014.43
5.3.230.0170.06014.41
5.3.220.0230.05314.38
5.3.210.0200.05314.24
5.3.200.0030.07014.38
5.3.190.0200.06314.34
5.3.180.0070.07714.38
5.3.170.0230.06014.37
5.3.160.0170.06314.36
5.3.150.0130.06014.34
5.3.140.0300.06714.37
5.3.130.0130.06714.35
5.3.120.0300.07014.34
5.3.110.0270.07714.22
5.3.100.0170.07713.82
5.3.90.0200.07713.80
5.3.80.0130.07013.76
5.3.70.0230.05713.66
5.3.60.0270.07013.68
5.3.50.0230.06713.60
5.3.40.0230.06013.59
5.3.30.0170.06713.67
5.3.20.0230.06013.52
5.3.10.0270.05713.48
5.3.00.0230.07013.41
5.2.170.0100.06310.95
5.2.160.0130.06310.97
5.2.150.0170.05710.85
5.2.140.0200.06010.97
5.2.130.0100.06011.03
5.2.120.0100.05311.03
5.2.110.0170.05710.91
5.2.100.0200.05710.88
5.2.90.0170.05310.90
5.2.80.0130.07010.80
5.2.70.0230.04010.80
5.2.60.0230.06010.84
5.2.50.0030.06310.72
5.2.40.0130.05710.79
5.2.30.0230.05310.79
5.2.20.0330.04310.72
5.2.10.0070.05710.77
5.2.00.0100.06010.65
5.1.60.0200.0509.89
5.1.50.0200.0339.71
5.1.40.0100.0539.86
5.1.30.0100.04710.23
5.1.20.0070.05310.12
5.1.10.0200.0439.94
5.1.00.0230.0439.92
5.0.50.0200.0379.01
5.0.40.0070.0479.01
5.0.30.0200.0479.01
5.0.20.0100.0509.01
5.0.10.0170.0339.01
5.0.00.0130.0509.01
4.4.90.0100.0509.03
4.4.80.0170.0279.03
4.4.70.0100.0379.02
4.4.60.0100.0409.02
4.4.50.0100.0379.02
4.4.40.0170.0509.01
4.4.30.0200.0239.01
4.4.20.0130.0309.01
4.4.10.0100.0339.01
4.4.00.0130.0479.01
4.3.110.0130.0309.01
4.3.100.0070.0379.01
4.3.90.0030.0439.01
4.3.80.0170.0539.01
4.3.70.0170.0338.97
4.3.60.0170.0378.80
4.3.50.0170.0338.70
4.3.40.0200.0408.66
4.3.30.0170.0338.66
4.3.20.0170.0378.66
4.3.10.0100.0408.66
4.3.00.0070.0338.66

preferences:
34.47 ms | 400 KiB | 5 Q