3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_include_path("include_path", "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\PEAR"); include("Mail.php"); /* mail setup recipients, subject etc */ $recipients = "data.flame@gmail.com"; $headers["From"] = "info@chimpeon.com"; $headers["To"] = "data.flame@gmail.com"; $headers["Subject"] = "User feedback"; $mailmsg = "Hello, This is a test."; /* SMTP server name, port, user/passwd */ $smtpinfo["host"] = "localhost"; $smtpinfo["port"] = "25"; $smtpinfo["auth"] = true; $smtpinfo["username"] = "info@chimpeon.com"; $smtpinfo["password"] = "8eat5hitDown642"; /* Create the mail object using the Mail::factory method */ $mail_object =& Mail::factory("smtp", $smtpinfo); /* Ok send mail */ $mail_object->send($recipients, $headers, $mailmsg); ?>

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)
8.3.60.0130.00318.30
8.3.50.0110.01322.03
8.3.40.0090.00918.70
8.3.30.0070.00718.71
8.3.20.0080.00020.16
8.3.10.0050.00320.71
8.3.00.0090.00318.41
8.2.180.0070.00716.75
8.2.170.0100.01022.96
8.2.160.0070.00722.31
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0000.00821.11
8.2.120.0040.00426.35
8.2.110.0000.00822.25
8.2.100.0040.00917.78
8.2.90.0000.00819.28
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0080.00017.93
8.2.50.0040.00418.09
8.2.40.0000.00820.65
8.2.30.0030.00319.39
8.2.20.0040.00417.63
8.2.10.0000.00718.11
8.2.00.0080.00017.88
8.1.280.0090.00625.92
8.1.270.0000.00923.99
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00321.82
8.1.230.0040.00817.42
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.10
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00718.50
8.1.160.0000.00820.58
8.1.150.0040.00420.61
8.1.140.0080.00019.36
8.1.130.0040.00417.40
8.1.120.0000.00717.25
8.1.110.0020.00517.39
8.1.100.0070.00017.33
8.1.90.0000.00717.35
8.1.80.0030.00617.35
8.1.70.0070.00017.21
8.1.60.0070.00417.52
8.1.50.0040.00417.50
8.1.40.0070.00417.56
8.1.30.0000.00817.62
8.1.20.0000.00817.48
8.1.10.0050.00217.53
8.1.00.0040.00417.44
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.54
8.0.270.0030.00317.24
8.0.260.0050.00316.91
8.0.250.0000.00717.02
8.0.240.0070.00016.94
8.0.230.0050.00316.98
8.0.220.0070.00016.91
8.0.210.0000.00716.85
8.0.200.0030.00316.96
8.0.190.0030.00316.94
8.0.180.0000.00716.83
8.0.170.0000.00716.82
8.0.160.0070.00016.89
8.0.150.0070.00016.76
8.0.140.0050.00316.88
8.0.130.0030.00313.34
8.0.120.0040.00416.78
8.0.110.0000.00716.97
8.0.100.0070.00016.95
8.0.90.0040.00416.71
8.0.80.0150.00616.92
8.0.70.0000.00716.85
8.0.60.0000.00716.89
8.0.50.0040.00416.98
8.0.30.0120.00517.23
8.0.20.0080.01117.40
8.0.10.0040.00416.94
8.0.00.0110.00816.78
7.4.330.0050.00016.74
7.4.320.0000.00716.54
7.4.300.0000.00816.55
7.4.290.0030.00316.66
7.4.280.0030.00516.55
7.4.270.0040.00416.63
7.4.260.0050.00316.53
7.4.250.0000.00816.38
7.4.240.0040.00416.45
7.4.230.0040.00416.64
7.4.220.0090.01516.67
7.4.210.0100.00816.63
7.4.200.0040.00416.62
7.4.160.0120.00416.49
7.4.150.0140.00717.40
7.4.140.0100.00717.86
7.4.130.0070.00916.51
7.4.120.0120.00516.59
7.4.110.0120.01216.56
7.4.100.0200.00416.56
7.4.90.0150.00716.57
7.4.80.0090.01119.39
7.4.70.0080.00816.40
7.4.60.0090.01216.61
7.4.50.0080.00616.75
7.4.40.0060.00916.40
7.4.30.0040.01516.74
7.4.00.0030.00915.13
7.3.330.0000.00713.17
7.3.320.0000.00613.18
7.3.310.0000.00716.37
7.3.300.0000.00616.29
7.3.290.0000.00716.42
7.3.280.0120.00716.47
7.3.270.0100.00917.40
7.3.260.0100.01016.34
7.3.250.0130.00716.38
7.3.240.0110.00616.47
7.3.230.0040.01216.46
7.3.210.0100.00716.38
7.3.200.0090.01216.67
7.3.190.0080.00816.67
7.3.180.0090.00616.50
7.3.170.0070.01416.63
7.3.160.0090.00916.50
7.3.10.0070.00716.78
7.3.00.0100.00716.71
7.2.330.0210.00316.38
7.2.320.0060.01216.48
7.2.310.0070.01016.53
7.2.300.0100.00616.51
7.2.290.0130.00316.62
7.2.130.0060.01016.75
7.2.120.0060.00616.54
7.2.110.0030.01016.84
7.2.100.0070.00816.88
7.2.90.0060.00616.80
7.2.80.0100.00717.04
7.2.70.0030.01016.97
7.2.60.0110.00916.87
7.2.50.0060.01016.91
7.2.40.0070.00717.03
7.2.30.0030.00916.95
7.2.20.0100.00316.95
7.2.10.0030.01216.95
7.2.00.0050.00718.22
7.1.250.0100.00315.63
7.1.200.0100.00315.83
7.1.100.0040.01117.44
7.1.70.0000.01417.29
7.1.60.0070.01719.27
7.1.50.0060.00916.91
7.1.00.0030.08022.45
7.0.200.0130.00314.67
7.0.60.0100.08321.72
7.0.50.0070.07317.87
7.0.40.0170.07019.99
7.0.30.0230.05320.18
7.0.20.0200.04720.10
7.0.10.0030.05320.21
7.0.00.0030.06320.00
5.6.280.0000.04321.02
5.6.210.0030.04320.50
5.6.200.0070.03718.23
5.6.190.0000.07020.42
5.6.180.0230.07720.40
5.6.170.0330.07320.46
5.6.160.0170.05320.49
5.6.150.0030.05718.12
5.6.140.0100.05718.13
5.6.130.0130.05718.21
5.6.120.0170.07721.14
5.6.110.0100.08020.98
5.6.100.0000.06321.00
5.6.90.0100.09020.93
5.6.80.0030.07020.52
5.5.350.0470.06020.35
5.5.340.0030.08317.89
5.5.330.0100.05720.29
5.5.320.0330.05320.32
5.5.310.0230.07320.51
5.5.300.0030.08718.02
5.5.290.0070.07318.03
5.5.280.0170.04320.77
5.5.270.0070.05320.84
5.5.260.0070.08720.81
5.5.250.0100.03320.49
5.5.240.0030.07320.23

preferences:
45.23 ms | 401 KiB | 5 Q