3v4l.org

run code in 300+ PHP versions simultaneously
<?php $envelope["from"]= "joe@example.com"; $envelope["to"] = "foo@example.com"; $envelope["cc"] = "bar@example.com"; $part1["type"] = TYPEMULTIPART; $part1["subtype"] = "mixed"; $contents = 'superzalcznik'; $filename = '2013-słit focie.7z.001'; $part2["type"] = TYPEAPPLICATION; $part2["encoding"] = ENCBINARY; $part2["subtype"] = "octet-stream"; $part2["description"] = basename($filename); $part2["contents.data"] = $contents; $part3["type"] = TYPETEXT; $part3["subtype"] = "plain"; $part3["description"] = "description3"; $part3["contents.data"] = "contents.data3\n\n\n\t"; $body[1] = $part1; $body[2] = $part2; $body[3] = $part3; echo nl2br(imap_mail_compose($envelope, $body)); ?>

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.40.0140.00319.02
8.3.30.0090.00618.75
8.3.20.0070.00020.33
8.3.10.0040.00421.94
8.3.00.0050.00319.50
8.2.170.0120.00322.96
8.2.160.0030.01020.43
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0100.00017.50
8.2.120.0040.00426.35
8.2.110.0080.00020.39
8.2.100.0120.00017.75
8.2.90.0000.00819.21
8.2.80.0000.00817.97
8.2.70.0040.00417.74
8.2.60.0060.00318.16
8.2.50.0060.00318.07
8.2.40.0000.00719.37
8.2.30.0030.00320.50
8.2.20.0030.00517.75
8.2.10.0000.00818.18
8.2.00.0040.00418.04
8.1.270.0000.01022.06
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0060.00323.96
8.1.230.0110.00017.88
8.1.220.0050.00317.79
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.70
8.1.180.0000.00818.10
8.1.170.0030.00518.59
8.1.160.0000.00722.09
8.1.150.0040.00418.77
8.1.140.0080.00019.52
8.1.130.0000.00717.59
8.1.120.0040.00417.39
8.1.110.0100.00017.41
8.1.100.0040.00417.43
8.1.90.0000.00817.43
8.1.80.0000.00717.41
8.1.70.0040.00417.39
8.1.60.0050.00317.51
8.1.50.0080.00017.36
8.1.40.0040.00417.46
8.1.30.0040.00417.52
8.1.20.0030.00617.50
8.1.10.0080.00017.52
8.1.00.0070.00317.41
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.44
8.0.270.0000.00717.30
8.0.260.0030.00317.14
8.0.250.0070.00016.93
8.0.240.0080.00017.04
8.0.230.0050.00217.00
8.0.220.0110.00016.82
8.0.210.0050.00316.87
8.0.200.0030.00317.05
8.0.190.0070.00017.07
8.0.180.0080.00016.88
8.0.170.0000.00816.93
8.0.160.0000.00717.02
8.0.150.0000.00716.86
8.0.140.0000.00816.93
8.0.130.0000.00613.36
8.0.120.0040.00416.83
8.0.110.0040.00416.87
8.0.100.0030.00317.02
8.0.90.0000.00816.99
8.0.80.0050.00916.99
8.0.70.0030.00516.90
8.0.60.0000.00716.95
8.0.50.0000.00716.83
8.0.30.0130.00417.17
8.0.20.0090.01217.40
8.0.10.0040.00417.09
8.0.00.0070.00916.86
7.4.330.0000.00516.84
7.4.320.0000.00616.54
7.4.300.0030.00316.48
7.4.290.0030.00316.50
7.4.280.0040.00416.50
7.4.270.0030.00316.41
7.4.260.0000.00716.59
7.4.250.0070.00016.42
7.4.240.0070.00016.48
7.4.230.0000.00716.52
7.4.220.0140.00716.69
7.4.210.0090.00916.41
7.4.200.0040.00416.67
7.4.160.0110.00616.48
7.4.150.0100.00717.40
7.4.140.0060.01217.86
7.4.130.0090.00916.56
7.4.120.0100.00716.53
7.4.110.0120.00916.64
7.4.100.0070.01816.60
7.4.90.0170.00016.55
7.4.80.0080.00819.39
7.4.70.0080.00816.60
7.4.60.0080.00816.40
7.4.50.0070.01016.55
7.4.40.0140.01016.50
7.4.30.0040.01416.55
7.4.00.0060.00915.05
7.3.330.0050.00013.29
7.3.320.0000.00813.28
7.3.310.0000.00716.43
7.3.300.0070.00016.25
7.3.290.0070.00616.34
7.3.280.0050.01016.43
7.3.270.0110.00717.40
7.3.260.0110.00616.25
7.3.250.0060.01116.34
7.3.240.0120.01216.54
7.3.230.0140.00316.42
7.3.210.0090.00916.67
7.3.200.0120.00416.47
7.3.190.0130.00516.32
7.3.180.0090.01216.52
7.3.170.0100.01016.55
7.3.160.0140.00716.39
7.2.330.0110.00716.69
7.2.320.0190.00416.67
7.2.310.0120.00616.60
7.2.300.0070.01016.80
7.2.290.0100.01016.73
7.2.60.0030.01216.75
7.2.00.0070.01319.25
7.1.200.0060.00615.64
7.1.100.0050.00518.04
7.1.70.0080.00017.07
7.1.60.0120.01219.36
7.1.50.0070.01116.85
7.1.00.0030.07722.35
7.0.200.0050.00516.56
7.0.60.0070.07321.74
7.0.50.0100.06017.91
7.0.40.0000.05020.21
7.0.30.0400.05320.20
7.0.20.0170.04020.04
7.0.10.0100.04020.20
7.0.00.0000.05020.16
5.6.280.0030.07021.04
5.6.210.0070.04020.76
5.6.200.0100.07718.21
5.6.190.0070.07320.60
5.6.180.0370.07020.57
5.6.170.0300.06720.48
5.6.160.0070.06720.46
5.6.150.0130.05018.19
5.6.140.0030.06318.14
5.6.130.0100.06018.16
5.6.120.0130.07721.05
5.6.110.0070.05321.02
5.6.100.0070.03720.95
5.6.90.0070.03720.98
5.6.80.0170.06720.50
5.5.350.4130.04320.41
5.5.340.0070.08718.00
5.5.330.0170.07320.21
5.5.320.0230.03720.21
5.5.310.0170.04720.20
5.5.300.0130.07017.88
5.5.290.0000.05317.98
5.5.280.0130.06720.87
5.5.270.0070.04020.89
5.5.260.0170.07320.95
5.5.250.0000.08020.66
5.5.240.3530.04020.12

preferences:
49.75 ms | 400 KiB | 5 Q