3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "huub.van.baal@planet.nl"; $subject = "This is subject"; $message = "<b>This is HTML message.</b>"; $message .= "<h1>This is headline.</h1>"; $header = "From: \"Huub van Baal\" <huub@workinmall.nl>\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; $retval = mail ($to,$subject,$message,$header); if( $retval == true ) { echo "Message sent successfully..."; } else { echo "Message could not be sent..."; } ?>

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.0110.00718.29
8.3.50.0220.01121.13
8.3.40.0140.00018.96
8.3.30.0110.00418.69
8.3.20.0040.00420.21
8.3.10.0040.00423.48
8.3.00.0050.00317.93
8.2.180.0050.01018.54
8.2.170.0070.01422.96
8.2.160.0070.00720.35
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0090.00017.50
8.2.110.0090.00322.23
8.2.100.0040.00817.93
8.2.90.0000.00719.21
8.2.80.0030.00517.97
8.2.70.0000.00817.75
8.2.60.0080.00017.80
8.2.50.0050.00318.07
8.2.40.0050.00319.53
8.2.30.0030.00320.64
8.2.20.0030.00617.81
8.2.10.0040.00418.05
8.2.00.0000.00718.12
8.1.280.0000.01525.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0100.00022.65
8.1.230.0000.01219.14
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0090.00017.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0040.00421.84
8.1.150.0040.00418.90
8.1.140.0040.00417.39
8.1.130.0030.00317.70
8.1.120.0030.00317.30
8.1.110.0000.00717.46
8.1.100.0030.00617.39
8.1.90.0030.00317.29
8.1.80.0000.00717.29
8.1.70.0030.00317.32
8.1.60.0040.00417.38
8.1.50.0040.00417.45
8.1.40.0050.00317.45
8.1.30.0030.00617.68
8.1.20.0060.00317.61
8.1.10.0040.00417.60
8.1.00.0000.00717.52
8.0.300.0000.00818.77
8.0.290.0070.00016.88
8.0.280.0030.00318.45
8.0.270.0000.00717.19
8.0.260.0000.00717.16
8.0.250.0000.00716.93
8.0.240.0000.00716.88
8.0.230.0030.00316.99
8.0.220.0000.00716.86
8.0.210.0000.00716.96
8.0.200.0000.00716.97
8.0.190.0000.00716.86
8.0.180.0040.00416.83
8.0.170.0000.00816.89
8.0.160.0000.00816.84
8.0.150.0000.00916.86
8.0.140.0040.00416.88
8.0.130.0060.00013.45
8.0.120.0040.00416.88
8.0.110.0050.00216.96
8.0.100.0060.00316.93
8.0.90.0000.00716.81
8.0.80.0130.00316.94
8.0.70.0040.00416.69
8.0.60.0080.00016.89
8.0.50.0040.00416.78
8.0.30.0050.01517.13
8.0.20.0070.01117.40
8.0.10.0040.00416.89
8.0.00.0120.00816.63
7.4.330.0000.00515.14
7.4.320.0030.00316.46
7.4.300.0030.00316.63
7.4.290.0070.00016.50
7.4.280.0040.00416.50
7.4.270.0070.00016.66
7.4.260.0080.00016.59
7.4.250.0050.00316.37
7.4.240.0030.00416.55
7.4.230.0070.00016.36
7.4.220.0120.00516.36
7.4.210.0070.00716.61
7.4.200.0040.00416.50
7.4.160.0070.01016.51
7.4.150.0160.00017.40
7.4.140.0080.01217.86
7.4.130.0180.00616.46
7.4.120.0100.00816.53
7.4.110.0040.01816.49
7.4.100.0040.01716.53
7.4.90.0140.00416.30
7.4.80.0130.01219.39
7.4.70.0030.01416.35
7.4.60.0190.00316.52
7.4.50.0040.00016.35
7.4.40.0110.00516.45
7.4.30.0070.01416.56
7.4.00.0100.00715.09
7.3.330.0000.00613.14
7.3.320.0070.00013.00
7.3.310.0040.00416.11
7.3.300.0000.00716.25
7.3.290.0070.00816.27
7.3.280.0070.01116.31
7.3.270.0100.00917.40
7.3.260.0090.00916.29
7.3.240.0110.00816.28
7.3.230.0130.00316.39
7.3.210.0080.00916.42
7.3.200.0130.00316.39
7.3.190.0090.00616.24
7.3.180.0040.01116.33
7.3.170.0090.00916.27
7.3.160.0070.01316.30
7.3.120.0030.01214.91
7.3.110.0100.00314.56
7.3.100.0060.00914.92
7.3.90.0060.00915.00
7.3.80.0030.01414.98
7.3.70.0070.00714.48
7.3.60.0080.00614.85
7.3.50.0100.00614.83
7.3.40.0040.00814.83
7.3.30.0080.00414.90
7.3.20.0040.00916.78
7.3.10.0080.00916.40
7.3.00.0110.00516.44
7.2.330.0070.01016.32
7.2.320.0110.00816.65
7.2.310.0130.01016.30
7.2.300.0090.00616.34
7.2.290.0100.00716.26
7.2.240.0140.00315.16
7.2.230.0040.01114.88
7.2.220.0030.01314.75
7.2.210.0040.00714.83
7.2.200.0150.00014.83
7.2.190.0060.01014.89
7.2.180.0080.00414.82
7.2.170.0080.00814.86
7.2.160.0000.01714.66
7.2.150.0070.00716.79
7.2.140.0110.00016.89
7.2.130.0080.00716.69
7.2.120.0050.01116.71
7.2.110.0150.00216.82
7.2.100.0080.00716.75
7.2.90.0150.00716.65
7.2.80.0040.00916.55
7.2.70.0100.00516.62
7.2.60.0100.00716.78
7.2.50.0080.00716.58
7.2.40.0130.00516.72
7.2.30.0090.00816.85
7.2.20.0090.00916.93
7.2.10.0110.00516.65
7.2.00.0100.00817.40
7.1.330.0000.01715.86
7.1.320.0100.00315.61
7.1.310.0070.01015.95
7.1.300.0140.00015.79
7.1.290.0110.00415.79
7.1.280.0030.01015.60
7.1.270.0140.00315.69
7.1.260.0030.01415.82
7.1.250.0090.00515.38
7.1.200.0000.00915.89
7.1.100.0000.00917.95
7.1.70.0070.00416.86
7.1.60.0030.02019.50
7.1.50.0030.01716.71
7.1.00.0030.07722.51
7.0.200.0000.00716.63
7.0.60.0100.05019.86
7.0.50.0130.07317.80
7.0.40.0070.09020.40
7.0.30.0500.05720.34
7.0.20.0330.07020.16
7.0.10.0070.06320.31
7.0.00.0070.04020.32
5.6.280.0030.03321.07
5.6.210.0030.04020.62
5.6.200.0030.07718.23
5.6.190.0100.07320.45
5.6.180.0230.04720.39
5.6.170.0300.08320.40
5.6.160.0070.07020.52
5.6.150.0100.06018.13
5.6.140.0100.06018.23
5.6.130.0000.04318.10
5.6.120.0130.08720.90
5.6.110.0070.08021.02
5.6.100.0130.07020.88
5.6.90.0030.06021.10
5.6.80.0130.05320.37
5.5.350.0200.07720.33
5.5.340.0130.07318.02
5.5.330.0000.06320.57
5.5.320.0200.04320.50
5.5.310.0430.06020.34
5.5.300.0100.05317.89
5.5.290.0130.08018.01
5.5.280.0030.07020.87
5.5.270.0130.07720.88
5.5.260.0130.05720.88
5.5.250.0030.04320.58
5.5.240.0070.07320.04
5.4.450.0670.06019.32
5.4.440.0630.07019.48
5.4.430.0670.05319.53
5.4.420.0630.06019.53
5.4.410.0630.06019.41
5.4.400.0600.05319.30
5.4.390.0600.06319.16
5.4.380.0600.05719.19
5.4.370.0570.05318.81
5.4.360.0600.05719.17
5.4.350.0770.07018.79
5.4.340.0830.06319.30
5.4.320.0670.05718.99
5.4.310.0730.04319.15
5.4.300.0570.05319.30
5.4.290.0600.05319.16
5.4.280.0570.05319.29
5.4.270.0800.04718.95
5.4.260.0730.06719.15
5.4.250.0700.08019.13
5.4.240.0670.04718.80
5.4.230.0570.06019.13
5.4.220.0570.06318.94
5.4.210.0700.05719.08
5.4.200.0900.05318.91
5.4.190.0900.08719.20
5.4.180.0630.05718.81
5.4.170.0930.07018.77
5.4.160.0800.06019.06
5.4.150.0800.06019.13
5.4.140.0670.05716.57
5.4.130.0700.06016.17
5.4.120.0800.05016.30
5.4.110.0700.06016.32
5.4.100.0530.06016.50
5.4.90.0530.05316.21
5.4.80.0600.06016.20
5.4.70.0200.04716.29
5.4.60.0230.04316.17
5.4.50.0230.04016.18
5.4.40.0200.03716.16
5.4.30.0370.04016.39
5.4.20.0170.03316.40
5.4.10.0370.05316.38

preferences:
49.72 ms | 401 KiB | 5 Q