3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "<keld@example.com>"; $elements = imap_mime_header_decode($text); for ($i=0; $i<count($elements); $i++) { echo "Charset: {$elements[$i]->charset}\n"; echo "Text: {$elements[$i]->text}\n\n"; } ?>

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.0120.00316.75
8.3.50.0070.00717.89
8.3.40.0140.00418.96
8.3.30.0070.00718.74
8.3.20.0000.00720.13
8.3.10.0080.00023.61
8.3.00.0040.00423.65
8.2.180.0120.00316.50
8.2.170.0110.00422.96
8.2.160.0070.01422.15
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00926.16
8.2.120.0040.00419.82
8.2.110.0000.01019.30
8.2.100.0040.00717.66
8.2.90.0050.00319.08
8.2.80.0030.00617.97
8.2.70.0030.00717.50
8.2.60.0060.00317.93
8.2.50.0000.01018.09
8.2.40.0000.00920.55
8.2.30.0080.00019.25
8.2.20.0050.00317.55
8.2.10.0070.00017.93
8.2.00.0040.00418.11
8.1.280.0070.01025.92
8.1.270.0060.00322.20
8.1.260.0000.01426.35
8.1.250.0030.00528.09
8.1.240.0040.00422.24
8.1.230.0080.00419.00
8.1.220.0080.00017.74
8.1.210.0040.00818.77
8.1.200.0100.00017.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.33
8.1.160.0030.00520.65
8.1.150.0030.00620.59
8.1.140.0040.00419.57
8.1.130.0000.00717.64
8.1.120.0040.00417.30
8.1.110.0000.00717.35
8.1.100.0040.00417.40
8.1.90.0040.00417.43
8.1.80.0000.00717.30
8.1.70.0000.00717.43
8.1.60.0030.00617.56
8.1.50.0040.00417.41
8.1.40.0030.00517.43
8.1.30.0030.00617.65
8.1.20.0060.00317.45
8.1.10.0000.00817.47
8.1.00.0040.00417.43
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.30
8.0.270.0000.00717.24
8.0.260.0000.00617.16
8.0.250.0030.00316.84
8.0.240.0070.00016.97
8.0.230.0000.00716.93
8.0.220.0040.00416.89
8.0.210.0020.00516.93
8.0.200.0030.00316.94
8.0.190.0040.00416.95
8.0.180.0000.00716.92
8.0.170.0060.00316.98
8.0.160.0040.00416.89
8.0.150.0040.00316.77
8.0.140.0040.00416.75
8.0.130.0030.00313.35
8.0.120.0040.00416.76
8.0.110.0040.00416.76
8.0.100.0040.00416.88
8.0.90.0000.00716.90
8.0.80.0040.01116.78
8.0.70.0040.00416.85
8.0.60.0040.00416.96
8.0.50.0070.00016.78
8.0.30.0150.00316.99
8.0.20.0100.01017.40
8.0.10.0040.00416.98
8.0.00.0070.01016.69
7.4.330.0030.00316.89
7.4.320.0000.00616.55
7.4.300.0030.00316.38
7.4.290.0000.00716.59
7.4.280.0030.00516.51
7.4.270.0030.00316.53
7.4.260.0060.00316.41
7.4.250.0040.00416.39
7.4.240.0030.00316.50
7.4.230.0000.00716.56
7.4.220.0040.01416.55
7.4.210.0130.00416.58
7.4.200.0000.00716.58
7.4.160.0060.00916.45
7.4.150.0180.00717.40
7.4.140.0080.01317.86
7.4.130.0130.00616.53
7.4.120.0090.00916.44
7.4.110.0100.00716.48
7.4.100.0070.01016.79
7.4.90.0090.00916.42
7.4.80.0070.01319.39
7.4.70.0100.00616.43
7.4.60.0140.00716.47
7.4.50.0090.00916.51
7.4.40.0110.01316.47
7.4.30.0070.01116.33
7.4.00.0060.00615.14
7.3.330.0060.00013.02
7.3.320.0030.00313.07
7.3.310.0040.00416.33
7.3.300.0000.00716.25
7.3.290.0030.00316.27
7.3.280.0090.00816.22
7.3.270.0090.00917.40
7.3.260.0170.00716.65
7.3.250.0120.00616.30
7.3.240.0080.01016.27
7.3.230.0130.00916.39
7.3.210.0000.01716.48
7.3.200.0060.00919.39
7.3.190.0060.01316.66
7.3.180.0090.00616.47
7.3.170.0090.01216.40
7.3.160.0080.00816.22
7.3.10.0090.00416.74
7.3.00.0100.00616.36
7.2.330.0070.01716.66
7.2.320.0130.00316.53
7.2.310.0130.00316.59
7.2.300.0070.01016.61
7.2.290.0120.00416.54
7.2.130.0030.00916.70
7.2.120.0000.01116.83
7.2.110.0180.01116.43
7.2.100.0080.00616.79
7.2.90.0040.00716.83
7.2.80.0070.01016.55
7.2.70.0000.01516.89
7.2.60.0030.01116.66
7.2.50.0040.01116.84
7.2.40.0120.00316.94
7.2.30.0040.01116.83
7.2.20.0030.01416.71
7.2.10.0030.00716.77
7.2.00.0010.01017.96
7.1.250.0040.00715.76
7.1.200.0070.00715.33
7.1.100.0200.01217.84
7.1.70.0040.00417.14
7.1.60.0060.01919.40
7.1.50.0040.01816.49
7.1.00.0070.07322.26
7.0.200.0000.00816.79
7.0.60.0170.07721.73
7.0.50.0000.06017.91
7.0.40.0070.07019.98
7.0.30.0270.07320.33
7.0.20.0230.03720.16
7.0.10.0030.04720.09
7.0.00.0100.06720.33
5.6.280.0200.04721.12
5.6.210.0000.07720.70
5.6.200.0030.04318.12
5.6.190.0100.03720.77
5.6.180.0330.07720.43
5.6.170.0130.05020.48
5.6.160.0100.07320.54
5.6.150.0130.03318.18
5.6.140.0100.07718.11
5.6.130.0070.03718.07
5.6.120.0000.06021.00
5.6.110.0100.05721.00
5.6.100.0100.08321.02
5.6.90.0270.06720.97
5.6.80.0170.07320.52
5.5.350.0130.08320.41
5.5.340.0070.03317.95
5.5.330.0100.08020.56
5.5.320.0230.07320.28
5.5.310.0130.04320.30
5.5.300.0070.05317.91
5.5.290.0130.08017.98
5.5.280.0170.07320.73
5.5.270.0100.07020.81
5.5.260.0030.08320.86
5.5.250.0000.08020.65
5.5.240.0230.03720.28

preferences:
61.53 ms | 400 KiB | 5 Q