3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mail = new SaeMail(); //$mail->setAttach( array( 'my_photo' => '照片的二进制数据' ) ); //$ret = $mail->quickSend( '290417699@qq.com' , '邮件标题测试' , '邮件内容测试' , 'wordpressmaster@sina.com' , 'snihquk' ); //发送失败时输出错误码和错误信息 //if ($ret === false) // var_dump($mail->errno(), $mail->errmsg()); //$mail->clean(); // 重用此对象 $ret = $mail->quickSend('290417699@qq.com','邮件标题test','邮件内容test','wordpressmaster@sina.com','snihquk','smtp.sina.com',25,false); // 指定smtp和端口 //发送失败时输出错误码和错误信息 if ($ret == false) var_dump($mail->errno(), $mail->errmsg()); ?>

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.0030.01716.75
8.3.50.0150.00321.13
8.3.40.0090.00618.61
8.3.30.0120.00318.84
8.3.20.0040.00420.20
8.3.10.0000.00823.48
8.3.00.0040.00421.83
8.2.180.0130.00316.63
8.2.170.0040.01122.96
8.2.160.0070.00720.48
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0050.00320.84
8.2.120.0040.00426.35
8.2.110.0060.00319.23
8.2.100.0080.00417.80
8.2.90.0050.00319.13
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0030.00617.80
8.2.50.0060.00618.09
8.2.40.0080.00022.31
8.2.30.0050.00319.49
8.2.20.0000.00717.64
8.2.10.0070.00018.00
8.2.00.0030.00517.97
8.1.280.0000.01525.92
8.1.270.0060.01222.09
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0000.00921.98
8.1.230.0070.00417.70
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0000.00720.64
8.1.150.0070.00018.73
8.1.140.0050.00319.52
8.1.130.0030.00317.46
8.1.120.0040.00417.24
8.1.110.0000.00717.32
8.1.100.0060.00317.36
8.1.90.0070.00017.41
8.1.80.0000.00817.35
8.1.70.0030.00317.39
8.1.60.0040.00417.43
8.1.50.0040.00417.51
8.1.40.0000.00817.33
8.1.30.0050.00317.59
8.1.20.0020.00517.48
8.1.10.0000.00717.50
8.1.00.0030.01017.50
8.0.300.0030.00618.77
8.0.290.0000.00716.63
8.0.280.0030.00318.49
8.0.270.0000.00817.20
8.0.260.0030.00317.18
8.0.250.0030.00316.90
8.0.240.0070.00016.97
8.0.230.0000.00716.99
8.0.220.0040.00416.92
8.0.210.0070.00016.92
8.0.200.0030.00316.94
8.0.190.0070.00016.96
8.0.180.0060.00316.95
8.0.170.0040.00416.90
8.0.160.0040.00416.92
8.0.150.0070.00016.74
8.0.140.0030.00616.70
8.0.130.0000.00613.30
8.0.120.0030.00616.90
8.0.110.0040.00416.87
8.0.100.0000.00816.77
8.0.90.0040.00416.68
8.0.80.0090.00616.87
8.0.70.0070.00016.99
8.0.60.0040.00416.87
8.0.50.0030.00516.85
8.0.30.0130.00816.88
8.0.20.0110.00917.40
8.0.10.0030.00617.02
8.0.00.0120.00616.72
7.4.330.0000.00516.71
7.4.320.0030.00316.37
7.4.300.0030.00316.49
7.4.290.0070.00016.59
7.4.280.0030.00516.58
7.4.270.0000.00716.36
7.4.260.0030.00316.51
7.4.250.0070.00016.57
7.4.240.0030.00316.40
7.4.230.0000.00716.38
7.4.220.0070.01816.55
7.4.210.0090.00616.55
7.4.200.0000.00716.38
7.4.160.0100.00716.51
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0100.00816.53
7.4.120.0050.01116.41
7.4.110.0040.01216.48
7.4.100.0170.00016.43
7.4.90.0030.01316.48
7.4.80.0000.02019.39
7.4.70.0130.00316.53
7.4.60.0130.00316.68
7.4.50.0070.01116.50
7.4.40.0110.00516.32
7.4.30.0000.01816.48
7.4.10.0000.01614.90
7.4.00.0050.01114.92
7.3.330.0050.00013.09
7.3.320.0060.00013.25
7.3.310.0030.00316.32
7.3.300.0000.00716.21
7.3.290.0100.00616.28
7.3.280.0110.00716.24
7.3.270.0100.00717.40
7.3.260.0140.00316.20
7.3.250.0110.00816.24
7.3.240.0080.01116.26
7.3.230.0090.00916.39
7.3.210.0130.00316.40
7.3.200.0070.01119.39
7.3.190.0090.00916.40
7.3.180.0080.00816.47
7.3.170.0110.01116.52
7.3.160.0000.01516.47
7.3.130.0070.01314.56
7.3.120.0050.01114.91
7.3.110.0070.00914.62
7.3.100.0080.00814.72
7.3.90.0050.00914.90
7.3.80.0060.00314.64
7.3.70.0060.00714.81
7.3.60.0060.00814.81
7.3.50.0070.00814.78
7.3.40.0040.00614.67
7.3.30.0030.01014.76
7.3.20.0050.00716.49
7.3.10.0030.00816.62
7.3.00.0090.00516.61
7.2.330.0130.01016.38
7.2.320.0030.01316.46
7.2.310.0030.01316.71
7.2.300.0060.01616.10
7.2.290.0100.00716.30
7.2.260.0060.01214.53
7.2.250.0080.01114.83
7.2.240.0070.00714.75
7.2.230.0080.00615.00
7.2.220.0060.00814.77
7.2.210.0070.00814.90
7.2.200.0080.00814.70
7.2.190.0060.01214.63
7.2.180.0070.01014.80
7.2.170.0070.00814.97
7.2.160.0080.00714.86
7.2.150.0050.00916.87
7.2.140.0060.00616.58
7.2.130.0050.00916.83
7.2.120.0070.00516.69
7.2.110.0090.00616.64
7.2.100.0050.00916.81
7.2.90.0090.00516.81
7.2.80.0070.00816.70
7.2.70.0030.01316.72
7.2.60.0050.01116.85
7.2.50.0050.01316.74
7.2.40.0070.00816.78
7.2.30.0080.00816.63
7.2.20.0020.00916.69
7.2.10.0080.00816.71
7.2.00.0040.01017.61
7.1.330.0050.01015.52
7.1.320.0020.01415.71
7.1.310.0050.01015.72
7.1.300.0030.01015.55
7.1.290.0070.00715.64
7.1.280.0080.00715.53
7.1.270.0090.00715.48
7.1.260.0020.01215.72
7.1.250.0050.01015.56
7.1.240.0000.00915.55
7.1.230.0080.00415.54
7.1.220.0000.00915.61
7.1.210.0030.01315.46
7.1.200.0030.01215.68
7.1.190.0070.01015.68
7.1.180.0060.00615.63
7.1.170.0100.01015.68
7.1.160.0030.00615.60
7.1.150.0030.00915.63
7.1.140.0090.00315.67
7.1.130.0070.00715.74
7.1.120.0030.01015.75
7.1.110.0060.00615.63
7.1.100.0070.00716.92
7.1.90.0070.00715.69
7.1.80.0000.01115.67
7.1.70.0040.00616.32
7.1.60.0090.01217.47
7.1.50.0060.01016.27
7.1.40.0070.01015.69
7.1.30.0090.00615.32
7.1.20.0090.00615.67
7.1.10.0100.00615.50
7.1.00.0070.04019.09
7.0.330.0000.00915.29
7.0.320.0060.00315.26
7.0.310.0090.00315.16
7.0.300.0040.00815.23
7.0.290.0100.00315.20
7.0.280.0060.00915.32
7.0.270.0040.00415.12
7.0.260.0060.00315.18
7.0.250.0000.01415.22
7.0.240.0030.00915.47
7.0.230.0080.00415.25
7.0.220.0060.00615.10
7.0.210.0090.00615.02
7.0.200.0160.00315.82
7.0.190.0030.01015.35
7.0.180.0000.00915.31
7.0.170.0080.00415.20
7.0.160.0040.00715.28
7.0.150.0070.00715.26
7.0.140.0040.01115.30
7.0.130.0040.00815.43
7.0.120.0060.00615.16
7.0.110.0040.00715.35
7.0.100.0090.00615.18
7.0.90.0040.01115.46
7.0.80.0070.00715.35
7.0.70.0000.01015.31
7.0.60.0160.03618.60
7.0.50.0080.02516.57
7.0.40.0050.04716.81
7.0.30.0080.03316.72
7.0.20.0160.03016.75
7.0.10.0110.04016.56
7.0.00.0070.02516.85
5.6.400.0000.01314.30
5.6.390.0090.00014.23
5.6.380.0070.00714.32
5.6.370.0040.00413.99
5.6.360.0060.00914.29
5.6.350.0030.00914.24
5.6.340.0030.01014.11
5.6.330.0060.00314.32
5.6.320.0060.00614.55
5.6.310.0070.01014.37
5.6.300.0070.01014.21
5.6.290.0120.00614.03
5.6.280.0000.02517.56
5.6.270.0110.00314.09
5.6.260.0060.00914.11
5.6.250.0080.00314.29
5.6.240.0070.00714.39
5.6.230.0030.01314.11
5.6.220.0040.01114.03
5.6.210.0050.04817.38
5.6.200.0020.04216.06
5.6.190.0070.03817.29
5.6.180.0150.02317.16
5.6.170.0160.02817.13
5.6.160.0070.04217.33
5.6.150.0090.04316.14
5.6.140.0070.04516.14
5.6.130.0100.03816.11
5.6.120.0030.02517.60
5.6.110.0060.02117.54
5.6.100.0050.04817.56
5.6.90.0050.04717.44
5.6.80.0050.02817.11
5.6.70.0060.00913.98
5.6.60.0030.00614.15
5.6.50.0030.00614.35
5.6.40.0030.00914.04
5.6.30.0100.00314.18
5.6.20.0030.01414.13
5.6.10.0030.00814.09
5.6.00.0040.00814.07
5.5.380.0000.01613.91
5.5.370.0000.01214.05
5.5.360.0040.00714.20
5.5.350.0130.04417.22
5.5.340.0050.01915.97
5.5.330.0080.02217.06
5.5.320.0080.02617.04
5.5.310.0150.03317.34
5.5.300.0090.04016.00
5.5.290.0020.03016.10
5.5.280.0110.04317.53
5.5.270.0030.04717.56
5.5.260.0070.04217.26
5.5.250.0070.02017.31
5.5.240.0080.05017.09
5.5.230.0040.00413.61
5.5.220.0040.00414.02
5.5.210.0030.00914.12
5.5.200.0030.00914.14
5.5.190.0040.00814.25
5.5.180.0090.00613.87
5.5.170.0060.00613.94
5.5.160.0070.00314.29
5.5.150.0000.01413.61
5.5.140.0090.00313.96
5.5.130.0090.00614.10
5.5.120.0070.00713.81
5.5.110.0030.01413.82
5.5.100.0070.00713.86
5.5.90.0040.01113.88
5.5.80.0070.00713.98
5.5.70.0000.01414.07
5.5.60.0000.01314.13
5.5.50.0050.00513.81
5.5.40.0000.00914.07
5.5.30.0000.00914.07
5.5.20.0060.00913.83
5.5.10.0060.00613.95
5.5.00.0070.00714.06

preferences:
112.06 ms | 401 KiB | 5 Q