3v4l.org

run code in 300+ PHP versions simultaneously
<?php iconv_set_encoding('internal_encoding', 'UTF-8'); iconv_set_encoding('input_encoding', 'UTF-8'); iconv_set_encoding('output_encoding', 'UTF-8'); $headers = <<< HEADERS X-Header-One: H4sIAAAAAAAAA+NgFlsCAAA= X-Header-Two: XtLePq6GTMn8G68F0 HEADERS; echo "Wrong decoding:\n"; var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR)); echo "Correct decoding:\n"; var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_STRICT));

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.1.110.0040.00417.41
8.1.100.0000.00717.38
8.1.90.0050.00217.28
8.1.80.0020.00517.37
8.1.70.0000.00917.24
8.1.60.0040.00417.48
8.1.50.0090.00017.41
8.1.40.0040.00417.47
8.1.30.0050.00317.44
8.1.20.0040.00417.46
8.1.10.0040.00417.57
8.1.00.0030.00517.34
8.0.240.0030.00616.98
8.0.230.0030.00316.95
8.0.220.0070.00016.91
8.0.210.0070.00016.78
8.0.200.0000.00716.96
8.0.190.0000.00816.92
8.0.180.0030.00716.88
8.0.170.0000.00716.79
8.0.160.0000.00816.90
8.0.150.0000.00716.70
8.0.140.0000.00716.81
8.0.130.0000.00713.26
8.0.120.0040.00417.01
8.0.110.0030.00616.99
8.0.100.0040.00416.98
8.0.90.0060.00316.91
8.0.80.0100.01316.95
8.0.70.0000.00916.98
8.0.60.0000.01017.02
8.0.50.0060.00316.89
8.0.30.0130.01117.20
8.0.20.0090.01217.40
8.0.10.0000.00916.93
8.0.00.0120.00916.90
7.4.300.0000.00716.35
7.4.290.0030.00316.57
7.4.280.0040.00416.51
7.4.270.0000.00716.36
7.4.260.0030.00316.41
7.4.250.0030.00616.65
7.4.240.0030.00516.59
7.4.230.0030.00616.61
7.4.220.0100.01016.49
7.4.210.0060.00916.66
7.4.200.0030.00616.57
7.4.160.0090.00916.78
7.4.150.0090.01017.40
7.4.140.0110.01317.86
7.4.130.0090.01516.65
7.4.120.0070.01316.63
7.4.110.0130.00916.62
7.4.100.0120.01516.77
7.4.90.0120.00916.50
7.4.80.0110.00919.39
7.4.70.0130.00716.57
7.4.60.0160.00916.75
7.4.50.0070.00316.61
7.4.40.0120.01216.38
7.4.30.0070.01416.66
7.4.20.0110.00816.59
7.4.10.0030.01616.54
7.4.00.0030.01415.66
7.3.330.0080.00013.21
7.3.320.0000.00513.13
7.3.310.0000.00916.35
7.3.300.0040.00416.27
7.3.290.0060.01016.38
7.3.280.0080.01116.29
7.3.270.0130.00617.40
7.3.260.0130.00616.63
7.3.250.0080.01516.64
7.3.240.0060.01316.46
7.3.230.0140.00716.39
7.3.210.0170.00316.42
7.3.200.0080.01119.39
7.3.190.0090.00916.36
7.3.180.0130.00616.52
7.3.170.0110.01116.47
7.3.160.0160.00716.53
7.3.150.0140.01016.45
7.3.140.0090.01016.38
7.3.130.0090.00916.50
7.3.120.0070.01116.48
7.3.110.0130.00916.48
7.3.100.0000.01716.54
7.3.90.0120.01216.50
7.3.80.0000.01816.38
7.3.70.0140.01016.38
7.3.60.0110.00716.39
7.3.50.0100.00716.44
7.3.40.0060.01516.44
7.3.30.0060.01416.42
7.3.20.0030.01516.43
7.3.10.0090.00916.30
7.3.00.0030.01716.31
7.2.330.0160.00316.75
7.2.320.0060.01516.63
7.2.310.0130.01316.56
7.2.300.0160.00416.63
7.2.290.0070.01116.72
7.2.280.0090.01016.81
7.2.270.0060.01916.73
7.2.260.0120.00616.46
7.2.250.0090.00916.72
7.2.240.0060.01316.69
7.2.230.0040.01416.69
7.2.220.0130.00616.75
7.2.210.0110.00716.68
7.2.200.0040.02116.54
7.2.190.0000.01916.55
7.2.180.0090.00916.54
7.2.170.0130.00716.53
7.2.160.0100.01716.32
7.2.150.0110.00816.76
7.2.140.0120.00816.73
7.2.130.0100.01016.66
7.2.120.0190.00616.42
7.2.110.0060.01816.52
7.2.100.0080.01116.54
7.2.90.0070.01316.56
7.2.80.0120.01216.70
7.2.70.0090.00916.57
7.2.60.0080.00916.70
7.2.50.0060.01316.54
7.2.40.0100.01016.69
7.2.30.0130.01316.78
7.2.20.0080.01116.70
7.2.10.0120.01216.54
7.2.00.0090.00918.05
7.1.330.0070.01015.70
7.1.320.0090.00915.74
7.1.310.0100.00715.59
7.1.300.0100.00715.68
7.1.290.0080.01115.58
7.1.280.0130.00915.65
7.1.270.0120.00915.39
7.1.260.0040.01415.73
7.1.250.0200.00415.53
7.1.240.0160.00615.48
7.1.230.0120.00915.51
7.1.220.0000.01915.59
7.1.210.0100.01015.64
7.1.200.0090.00415.65
7.1.190.0060.01215.48
7.1.180.0090.00915.60
7.1.170.0070.01015.56
7.1.160.0090.00915.60
7.1.150.0080.01215.56
7.1.140.0070.01115.62
7.1.130.0130.01015.62
7.1.120.0060.01215.73
7.1.110.0040.01415.55
7.1.100.0080.00716.90
7.1.90.0050.01315.61
7.1.80.0170.00315.63
7.1.70.0080.01116.30
7.1.60.0110.01517.59
7.1.50.0100.01216.27
7.1.40.0110.00615.48
7.1.30.0090.00915.48
7.1.20.0150.00315.54
7.1.10.0080.01015.53
7.1.00.0110.04319.13
7.0.330.0100.01015.45
7.0.320.0030.01415.22
7.0.310.0100.00715.38
7.0.300.0140.00515.30
7.0.290.0040.01615.09
7.0.280.0090.00915.28
7.0.270.0090.00915.38
7.0.260.0080.01215.27
7.0.250.0090.00915.55
7.0.240.0060.01215.41
7.0.230.0000.02115.37
7.0.220.0100.00715.26
7.0.210.0030.01615.26
7.0.200.0240.01315.10
7.0.190.0090.01115.26
7.0.180.0080.00815.30
7.0.170.0090.01015.44
7.0.160.0070.01015.27
7.0.150.0030.01315.18
7.0.140.0060.01315.37
7.0.130.0150.00715.22
7.0.120.0080.01115.07
7.0.110.0090.00915.27
7.0.100.0120.03917.64
7.0.90.0150.04017.61
7.0.80.0100.04517.67
7.0.70.0090.04417.58
7.0.60.0120.04017.63
7.0.50.0150.03817.80
7.0.40.0120.02817.61
7.0.30.0110.03717.76
7.0.20.0060.03817.66
7.0.10.0060.03017.78
7.0.00.0070.03017.82
5.6.400.0140.00716.03
5.6.390.0110.01116.00
5.6.380.0080.01116.04
5.6.370.0130.01016.04
5.6.360.0030.01615.75
5.6.350.0100.01215.97
5.6.340.0030.02116.05
5.6.330.0140.00616.01
5.6.320.0090.00916.05
5.6.310.0130.01316.09
5.6.300.0090.01115.84
5.6.290.0070.01415.83
5.6.280.0040.04518.52
5.6.270.0070.01316.00
5.6.260.0000.01915.80
5.6.250.0100.03818.29
5.6.240.0140.04218.30
5.6.230.0110.04418.35
5.6.220.0100.03118.25
5.6.210.0150.04118.32
5.6.200.0030.03718.49
5.6.190.0070.04318.52
5.6.180.0110.04818.55
5.6.170.0070.02618.55
5.6.160.0100.02818.42
5.6.150.0120.02918.54
5.6.140.0070.02918.46
5.6.130.0000.03718.48
5.6.120.0080.02618.49
5.6.110.0090.02718.46
5.6.100.0050.02918.43
5.6.90.0090.03418.51
5.6.80.0060.03918.13
5.6.70.0110.03518.24
5.6.60.0120.02718.19
5.6.50.0070.02718.15
5.6.40.0060.02718.22
5.6.30.0070.02618.13
5.6.20.0050.02918.09
5.6.10.0070.02618.07
5.6.00.0100.04318.12
5.5.380.0050.04618.05
5.5.370.0070.04518.03
5.5.360.0080.03118.09
5.5.350.0110.04718.12
5.5.340.0100.03918.37
5.5.330.0060.03318.37
5.5.320.0070.05218.47
5.5.310.0090.03618.43
5.5.300.0110.03518.21
5.5.290.0120.03018.29
5.5.280.0120.02318.48
5.5.270.0010.03318.38
5.5.260.0050.02818.32
5.5.250.0100.04318.29
5.5.240.0080.02317.98
5.5.230.0020.03617.98
5.5.220.0080.02718.04
5.5.210.0050.02718.01
5.5.200.0100.03917.96
5.5.190.0050.02918.12
5.5.180.0050.02918.14
5.5.170.0000.02715.81
5.5.160.0060.02818.06
5.5.150.0070.02517.92
5.5.140.0080.02318.05
5.5.130.0070.02718.02
5.5.120.0050.03418.10
5.5.110.0120.02518.04
5.5.100.0070.02617.98
5.5.90.0050.02917.96
5.5.80.0070.02917.90
5.5.70.0070.02718.00
5.5.60.0080.02417.99
5.5.50.0070.03217.88
5.5.40.0040.03117.95
5.5.30.0120.02317.91
5.5.20.0080.04517.98
5.5.10.0080.03118.08
5.5.00.0080.04717.91
5.4.450.0130.02415.91
5.4.440.0120.02215.92
5.4.430.0090.02615.95
5.4.420.0120.04015.99
5.4.410.0110.02215.84
5.4.400.0140.02015.63
5.4.390.0100.04215.69
5.4.380.0110.02315.68
5.4.370.0080.02315.60
5.4.360.0110.02615.74
5.4.350.0140.02015.74
5.4.340.0120.02015.79
5.4.330.0130.01012.25
5.4.320.0110.02415.84
5.4.310.0100.02615.67
5.4.300.0150.01915.78
5.4.290.0110.02915.79
5.4.280.0090.02615.83
5.4.270.0080.03015.77
5.4.260.0110.02915.83
5.4.250.0120.02015.63
5.4.240.0100.02415.73
5.4.230.0090.04015.88
5.4.220.0150.03415.72
5.4.210.0100.02215.90
5.4.200.0140.01815.64
5.4.190.0120.04315.77
5.4.180.0100.04715.73
5.4.170.0110.02715.64
5.4.160.0110.04315.75
5.4.150.0090.03015.88
5.4.140.0150.03614.42
5.4.130.0040.04814.50
5.4.120.0110.04114.48
5.4.110.0120.03314.47
5.4.100.0110.04014.39
5.4.90.0100.04214.49
5.4.80.0100.04014.43
5.4.70.0150.03814.36
5.4.60.0130.03814.40
5.4.50.0160.01814.39
5.4.40.0140.03014.38
5.4.30.0090.03914.37
5.4.20.0120.03914.37
5.4.10.0080.02814.43
5.4.00.0070.04714.04
5.3.290.0130.03114.02
5.3.280.0110.02513.88
5.3.270.0130.04413.96
5.3.260.0080.04513.81
5.3.250.0120.02813.84
5.3.240.0110.04813.82
5.3.230.0180.03113.76
5.3.220.0150.02713.73
5.3.210.0140.04113.81
5.3.200.0140.04013.73
5.3.190.0160.02213.83
5.3.180.0110.04113.84
5.3.170.0130.03713.84
5.3.160.0140.03413.83
5.3.150.0130.04113.82
5.3.140.0070.02713.84
5.3.130.0130.03213.74
5.3.120.0100.03613.86
5.3.110.0120.04113.87
5.3.100.0070.03413.63
5.3.90.0110.04313.65
5.3.80.0170.03813.50
5.3.70.0070.03813.48
5.3.60.0130.04113.57
5.3.50.0140.03813.49
5.3.40.0120.04013.46
5.3.30.0130.03813.53
5.3.20.0080.04513.35
5.3.10.0160.03613.33
5.3.00.0100.03413.23
5.2.170.0110.03611.74
5.2.160.0100.03811.61
5.2.150.0100.03711.61
5.2.140.0070.03711.53
5.2.130.0060.04011.61
5.2.120.0080.02511.81
5.2.110.0070.03211.57
5.2.100.0090.02811.68
5.2.90.0110.03511.54
5.2.80.0140.02811.48
5.2.70.0110.03411.60
5.2.60.0090.03711.55
5.2.50.0070.03811.49
5.2.40.0150.02711.54
5.2.30.0060.03811.52
5.2.20.0080.03511.44
5.2.10.0080.03711.39
5.2.00.0100.03211.31
5.1.60.0050.03410.95
5.1.50.0060.03510.96
5.1.40.0060.03310.94
5.1.30.0130.01511.01
5.1.20.0110.03011.06
5.1.10.0120.03010.99
5.1.00.0140.03010.99
5.0.50.0080.02010.38
5.0.40.0090.02510.38
5.0.30.0100.03310.38
5.0.20.0070.02710.38
5.0.10.0070.02510.38
5.0.00.0090.03510.38
4.4.90.0000.02110.38
4.4.80.0040.01710.38
4.4.70.0060.01810.38
4.4.60.0060.01810.38
4.4.50.0060.01810.38
4.4.40.0010.02910.38
4.4.30.0040.01910.38
4.4.20.0050.02010.38
4.4.10.0020.02310.38
4.4.00.0020.03510.38
4.3.110.0030.01510.38
4.3.100.0100.01310.38
4.3.90.0050.01810.38
4.3.80.0030.02210.38
4.3.70.0030.01610.38
4.3.60.0050.01910.38
4.3.50.0050.01810.38
4.3.40.0070.02510.38
4.3.30.0020.02110.38
4.3.20.0030.01810.38
4.3.10.0040.01910.38
4.3.00.0020.02010.38

preferences:
65.67 ms | 406 KiB | 5 Q