3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "sunset.kiten@gmail.com"; $subject = "Try to send email from php"; $txt = "Ko sta be"; $headers = "From: nikolay.ptkv@gmail.com"; mail($to,$subject,$txt,$headers); ?>

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.0070.00718.55
8.3.50.0140.00016.23
8.3.40.0070.00718.76
8.3.30.0120.00318.61
8.3.20.0080.00020.23
8.3.10.0040.00421.77
8.3.00.0100.00019.43
8.2.180.0090.00618.29
8.2.170.0150.00322.96
8.2.160.0040.01119.03
8.2.150.0030.01024.18
8.2.140.0030.00524.66
8.2.130.0040.00419.38
8.2.120.0000.00726.35
8.2.110.0040.00420.57
8.2.100.0060.00617.72
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0050.00317.91
8.2.50.0040.00418.10
8.2.40.0040.00420.66
8.2.30.0080.00019.23
8.2.20.0020.00518.04
8.2.10.0050.00317.94
8.2.00.0030.00418.04
8.1.280.0100.01025.92
8.1.270.0000.00721.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00022.81
8.1.230.0070.00317.70
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0150.00017.25
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0090.00018.62
8.1.160.0040.00418.91
8.1.150.0040.00418.73
8.1.140.0030.00519.36
8.1.130.0030.00318.73
8.1.120.0000.00717.27
8.1.110.0030.00517.40
8.1.100.0000.00817.34
8.1.90.0000.00817.32
8.1.80.0040.00417.32
8.1.70.0030.00617.42
8.1.60.0000.00817.49
8.1.50.0000.00817.52
8.1.40.0100.00017.50
8.1.30.0040.00417.65
8.1.20.0060.00317.65
8.1.10.0020.00517.57
8.1.00.0030.00517.45
8.0.300.0080.00018.77
8.0.290.0050.00316.63
8.0.280.0030.00318.45
8.0.270.0000.00717.21
8.0.260.0030.00316.73
8.0.250.0030.00316.94
8.0.240.0000.00716.94
8.0.230.0000.00716.80
8.0.220.0070.00016.88
8.0.210.0040.00416.92
8.0.200.0060.00016.77
8.0.190.0050.00316.82
8.0.180.0040.00416.90
8.0.170.0030.00316.81
8.0.160.0040.00416.92
8.0.150.0000.00716.73
8.0.140.0000.00716.80
8.0.130.0030.00313.30
8.0.120.0040.00416.84
8.0.110.0030.00316.75
8.0.100.0000.00716.69
8.0.90.0040.00416.87
8.0.80.0080.00816.91
8.0.70.0030.00516.77
8.0.60.0000.00716.75
8.0.50.0040.00316.77
8.0.30.0090.00917.04
8.0.20.0100.00917.40
8.0.10.0000.00716.95
8.0.00.0060.00916.50
7.4.330.0020.00215.55
7.4.320.0060.00016.42
7.4.300.0060.00016.45
7.4.290.0080.00316.57
7.4.280.0000.00816.27
7.4.270.0000.00716.45
7.4.260.0070.00016.48
7.4.250.0000.00716.38
7.4.240.0030.00316.54
7.4.230.0060.00016.35
7.4.220.0100.01016.46
7.4.210.0040.01116.43
7.4.200.0030.00316.40
7.4.160.0040.01516.41
7.4.150.0110.00817.40
7.4.140.0150.00417.86
7.4.130.0180.00916.44
7.4.120.0070.01016.43
7.4.110.0140.00416.36
7.4.100.0110.00716.45
7.4.90.0060.01116.39
7.4.80.0030.01519.39
7.4.70.0030.01316.47
7.4.60.0040.01116.27
7.4.50.0000.01716.75
7.4.40.0090.01216.55
7.4.30.0110.00516.33
7.4.00.0070.00914.85
7.3.330.0050.00013.08
7.3.320.0070.00013.00
7.3.310.0030.00316.23
7.3.300.0070.00016.18
7.3.290.0090.00416.17
7.3.280.0090.00816.17
7.3.270.0070.01117.40
7.3.260.0110.00616.29
7.3.250.0100.00616.31
7.3.240.0110.01116.16
7.3.230.0070.01016.38
7.3.210.0040.01316.53
7.3.200.0150.00016.43
7.3.190.0060.01516.30
7.3.180.0070.01116.39
7.3.170.0130.00316.16
7.3.160.0030.01416.29
7.3.120.0080.00814.77
7.3.110.0040.01114.57
7.3.100.0090.00814.73
7.3.90.0090.00414.72
7.3.80.0050.00814.64
7.3.70.0050.00914.73
7.3.60.0050.00914.72
7.3.50.0030.01014.77
7.3.40.0070.00914.74
7.3.30.0110.00514.59
7.3.20.0050.01016.50
7.3.10.0040.00916.53
7.3.00.0080.00616.54
7.2.330.0110.01116.53
7.2.320.0140.00916.41
7.2.310.0030.01316.55
7.2.300.0090.00916.38
7.2.290.0090.01116.53
7.2.250.0080.00914.88
7.2.240.0070.00914.94
7.2.230.0080.00814.70
7.2.220.0040.00914.89
7.2.210.0090.00614.90
7.2.200.0080.00514.93
7.2.190.0030.00914.85
7.2.180.0040.01114.77
7.2.170.0060.00714.68
7.2.160.0000.01514.63
7.2.150.0030.00616.59
7.2.140.0100.00716.79
7.2.130.0080.00816.64
7.2.120.0050.00716.68
7.2.110.0040.01216.73
7.2.100.0060.01016.72
7.2.90.0400.00816.04
7.2.80.0290.01015.78
7.2.70.0470.01216.21
7.2.60.0360.00515.99
7.2.50.0080.01116.08
7.2.40.0110.00716.07
7.2.30.0040.01216.08
7.2.20.0340.00916.20
7.2.10.0100.00916.15
7.2.00.0240.00615.94
7.1.330.0060.00815.74
7.1.320.0070.00315.82
7.1.310.0020.01215.71
7.1.300.0030.01015.75
7.1.290.0050.00915.71
7.1.280.0050.00615.47
7.1.270.0070.00715.64
7.1.260.0020.01115.57
7.1.250.0050.00515.79
7.1.240.0030.01315.49
7.1.230.0030.01315.76
7.1.220.0100.00315.71
7.1.210.0380.00714.74
7.1.200.0440.00514.77
7.1.190.0350.00814.74
7.1.180.0330.01114.70
7.1.170.0370.00914.51
7.1.160.0390.00814.60
7.1.150.0060.00914.73
7.1.140.0100.01014.76
7.1.130.0170.00414.94
7.1.120.0190.00814.79
7.1.110.0250.00914.76
7.1.100.0130.00714.87
7.1.90.0160.00414.66
7.1.80.0330.00414.69
7.1.70.0380.00314.78
7.1.60.0470.01023.63
7.1.50.0540.01523.79
7.1.40.0380.00823.79
7.1.30.0200.00923.54
7.1.20.0500.00623.73
7.1.10.0350.00614.85
7.1.00.0070.00614.73
7.0.330.0000.01415.54
7.0.320.0060.00615.41
7.0.310.0410.00614.32
7.0.300.0080.00814.28
7.0.290.0090.00914.37
7.0.280.0300.00914.30
7.0.270.0400.00714.36
7.0.260.0400.00314.34
7.0.250.0330.01214.25
7.0.240.0140.00714.59
7.0.230.0690.00814.24
7.0.220.0500.00314.14
7.0.210.0190.00914.47
7.0.200.0450.00514.36
7.0.190.0070.01014.46
7.0.180.0120.00914.29
7.0.170.0190.01014.40
7.0.160.0120.00514.38
7.0.150.0860.00614.51
7.0.140.0590.00514.33
7.0.130.0120.00314.38
7.0.120.0080.00614.42
7.0.110.0080.00814.47
7.0.100.0110.00514.34
7.0.90.0090.00514.47
7.0.80.0270.00914.47
7.0.70.0090.00614.28
7.0.60.0020.01114.43
7.0.50.0720.00814.46
7.0.40.0310.00513.55
7.0.30.0050.01013.38
7.0.20.0120.01013.37
7.0.10.0110.00413.60
7.0.00.0570.00713.32
5.6.400.0030.00714.09
5.6.390.0080.00414.16
5.6.380.0030.00613.98
5.6.370.0090.00613.87
5.6.360.0080.00414.44
5.6.350.0040.00414.43
5.6.340.0030.00914.14
5.6.330.0030.01014.13
5.6.320.0090.00613.96
5.6.310.0100.00314.55
5.6.300.0040.00414.00
5.6.290.0070.00714.14
5.6.280.0030.00914.25
5.6.270.0130.00314.20
5.6.260.0120.00614.28
5.6.250.0140.00014.09
5.6.240.0060.00314.11
5.6.230.0030.01414.03
5.6.220.0120.00314.20
5.6.210.0060.01013.91
5.6.200.0030.00614.25
5.6.190.0030.00913.90
5.6.180.0000.01513.98
5.6.170.0080.00414.03
5.6.160.0050.00314.11
5.6.150.0070.00314.27
5.6.140.0070.00713.90
5.6.130.0060.00914.09
5.6.120.0000.01314.24
5.6.110.0000.01213.98
5.6.100.0000.01114.33
5.6.90.0060.00614.24
5.6.80.0040.00714.08
5.6.70.0070.01014.17
5.6.60.0070.00714.13
5.6.50.0110.00313.89
5.6.40.0030.00514.02
5.6.30.0090.00314.07
5.6.20.0100.00313.90
5.6.10.0050.00514.01
5.6.00.0040.00914.16

preferences:
46.41 ms | 401 KiB | 5 Q