3v4l.org

run code in 300+ PHP versions simultaneously
<?php $columns = <<<'NOWDOC' "icon", "status", "pk_application_id", "created_at", "cluster_description", "departement_description", "filer_name", "application_description", "application_reason_description", "application_group_description", "initial_costs_total", "annual_costs_total", "purchase_preference" NOWDOC; $headers = <<<'NOWDOC' "", "status", "nr", "datum", "cluster", "afdeling", "indiener", "omschrijving", "betreft", "groep", "aanschaf kosten", "jaarlijkse kosten", "gewenst jaar" NOWDOC; $columns = explode(',', preg_replace('/\s++/', '', $columns)); $headers = explode(',', preg_replace('/\s++/', '', $headers)); $size = count($columns); for ($i = 0; $i < $size; $i++) { printf('columns.add(%s); headers.add(%s);', $columns[$i], $headers[$i]); echo PHP_EOL; }

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.52
8.3.50.0100.00921.93
8.3.40.0040.01419.00
8.3.30.0120.00619.18
8.3.20.0040.00420.21
8.3.10.0080.00022.15
8.3.00.0080.00022.14
8.2.180.0110.00416.75
8.2.170.0120.00322.96
8.2.160.0110.00420.93
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0000.00826.16
8.2.120.0090.00017.88
8.2.110.0030.00622.39
8.2.100.0080.00419.21
8.2.90.0080.00019.39
8.2.80.0000.00917.97
8.2.70.0040.00417.88
8.2.60.0030.00918.16
8.2.50.0000.00918.07
8.2.40.0070.00418.16
8.2.30.0080.00018.04
8.2.20.0050.00217.86
8.2.10.0000.00817.77
8.2.00.0040.00417.97
8.1.280.0120.00925.92
8.1.270.0040.00422.07
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.97
8.1.230.0040.00919.21
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0000.00917.47
8.1.190.0030.00517.53
8.1.180.0030.00618.10
8.1.170.0030.00618.78
8.1.160.0000.00722.06
8.1.150.0020.00518.81
8.1.140.0040.00417.63
8.1.130.0030.00517.82
8.1.120.0020.00517.48
8.1.110.0000.00817.68
8.1.100.0070.00017.51
8.1.90.0050.00217.56
8.1.80.0000.00717.66
8.1.70.0030.00317.65
8.1.60.0030.00617.79
8.1.50.0000.00717.70
8.1.40.0040.00417.70
8.1.30.0000.00717.72
8.1.20.0050.00317.78
8.1.10.0000.00817.80
8.1.00.0000.00817.60
8.0.300.0070.00018.77
8.0.290.0070.00017.18
8.0.280.0030.00318.59
8.0.270.0070.00017.14
8.0.260.0030.00317.00
8.0.250.0030.00317.09
8.0.240.0030.00317.20
8.0.230.0000.00717.11
8.0.220.0000.00716.96
8.0.210.0000.00717.05
8.0.200.0050.00217.00
8.0.190.0000.00717.13
8.0.180.0030.00316.97
8.0.170.0030.00617.13
8.0.160.0040.00417.01
8.0.150.0050.00317.13
8.0.140.0040.00417.08
8.0.130.0000.00513.57
8.0.120.0000.00717.09
8.0.110.0040.00417.09
8.0.100.0000.00716.96
8.0.90.0000.00817.16
8.0.80.0090.01017.01
8.0.70.0000.00817.14
8.0.60.0030.00416.96
8.0.50.0050.00316.93
8.0.30.0100.00917.47
8.0.20.0080.01017.40
8.0.10.0000.00717.23
8.0.00.0110.00816.92
7.4.330.0030.00315.22
7.4.320.0060.00316.68
7.4.300.0000.00616.83
7.4.290.0030.00316.73
7.4.280.0000.00816.75
7.4.270.0050.00316.72
7.4.260.0080.00316.81
7.4.250.0000.00716.71
7.4.240.0040.00316.68
7.4.230.0000.00716.85
7.4.220.0080.01116.91
7.4.210.0050.00916.71
7.4.200.0030.00416.62
7.4.190.0050.00216.78
7.4.160.0080.00816.68
7.4.150.0100.00717.40
7.4.140.0040.01317.86
7.4.130.0090.01016.87
7.4.120.0140.00716.70
7.4.110.0070.01716.81
7.4.100.0090.01316.79
7.4.90.0000.01816.72
7.4.80.0150.00319.39
7.4.70.0070.01016.69
7.4.60.0120.00416.78
7.4.50.0000.00816.78
7.4.40.0070.01122.77
7.4.30.0070.01016.79
7.4.00.0070.01015.37
7.3.330.0000.00513.47
7.3.320.0050.00013.38
7.3.310.0040.00416.44
7.3.300.0070.00016.38
7.3.290.0030.01216.46
7.3.280.0050.01016.51
7.3.270.0120.01217.40
7.3.260.0060.01016.49
7.3.250.0110.00716.59
7.3.240.0170.00316.44
7.3.230.0140.00316.49
7.3.210.0090.00916.45
7.3.200.0040.01219.39
7.3.190.0110.00616.64
7.3.180.0080.00816.45
7.3.170.0040.01416.73
7.3.160.0070.01016.50
7.3.120.0130.00315.15
7.3.10.0060.00616.87
7.3.00.0060.00616.93
7.2.330.0210.02216.68
7.2.320.0140.00716.67
7.2.310.0040.01916.78
7.2.300.0070.01016.72
7.2.290.0110.00716.80
7.2.130.0070.00417.15
7.2.120.0040.00717.23
7.2.110.0030.00917.25
7.2.100.0040.00816.82
7.2.90.0090.00317.10
7.2.80.0000.01417.10
7.2.70.0060.01217.35
7.2.60.0090.00516.90
7.2.50.0090.00316.95
7.2.40.0040.00817.09
7.2.30.0000.01017.27
7.2.20.0000.01017.27
7.2.10.0060.00617.23
7.2.00.0040.00918.19
7.1.250.0030.00816.09
7.1.200.0070.00415.88
7.1.100.0000.01418.23
7.1.70.0000.00717.23
7.1.60.0040.01919.82
7.1.50.0040.01817.21
7.1.00.0070.07322.32
7.0.200.0030.00616.93
7.0.140.0030.07322.09
7.0.60.0070.07319.90
7.0.50.0130.07317.91
7.0.40.0100.06320.44
7.0.30.0300.04720.15
7.0.20.0330.07720.02
7.0.10.0270.08320.14
7.0.00.0100.07020.22
5.6.280.0070.06720.82
5.6.210.0070.08720.45
5.6.200.0070.07018.09
5.6.190.0130.07320.39
5.6.180.3770.04320.33
5.6.170.0200.03720.54
5.6.160.0070.05720.61
5.6.150.0070.08018.17
5.6.140.0130.07718.21
5.6.130.0200.07718.21
5.6.120.0070.05021.02
5.6.110.0030.08021.11
5.6.100.0030.07321.04
5.6.90.0130.08021.02
5.6.80.0070.08020.51
5.6.70.0370.07020.43
5.5.350.0070.08320.52
5.5.340.0100.05318.02
5.5.330.0170.07320.21
5.5.320.0330.04720.29
5.5.310.0370.06020.30
5.5.300.0030.04317.91
5.5.290.0070.06318.02
5.5.280.0170.07320.87
5.5.270.0100.03720.76
5.5.260.0030.09720.68
5.5.250.0100.08320.70
5.5.240.0070.03720.18
5.4.450.0330.04319.39
5.4.440.0330.03319.43
5.4.430.0370.05019.48
5.4.420.0470.05319.40
5.4.410.0130.05319.10
5.4.400.0100.05018.79
5.4.390.0130.06718.70
5.4.380.0270.05718.63
5.4.370.0370.05318.68
5.4.360.0400.05018.49
5.4.350.0170.06318.64
5.4.340.0300.05018.69
5.4.320.0110.04112.45
5.4.310.0070.04212.45
5.4.300.0080.04412.46
5.4.290.0120.03812.45
5.4.280.0050.03612.35
5.4.270.0030.05718.98
5.4.260.0100.07718.98
5.4.250.0070.06019.16
5.4.240.0170.04719.11
5.4.230.0100.05318.99
5.4.220.0130.06318.76
5.4.210.0100.05718.88
5.4.200.0100.05318.91
5.4.190.0270.05019.00
5.4.180.0230.06318.90
5.4.170.0070.07718.97
5.4.160.0170.04718.75
5.4.150.0270.04718.83
5.4.140.0100.05016.55
5.4.130.0170.04016.48
5.4.120.0100.06016.40
5.4.110.0130.05016.36
5.4.100.0070.05716.30
5.4.90.0100.05016.62
5.4.80.0130.04716.54
5.4.70.0100.05716.50
5.4.60.0130.05016.48
5.4.50.0000.07716.49
5.4.40.0130.06016.38
5.4.30.0100.07016.54
5.4.20.0130.04316.29
5.4.10.0100.05716.54
5.4.00.0200.04715.92
5.3.290.0070.04412.80
5.3.280.0170.04714.58
5.3.270.0170.05314.79
5.3.260.0100.05314.76
5.3.250.0030.05714.42
5.3.240.0100.06314.75
5.3.230.0130.05314.77
5.3.220.0200.04714.56
5.3.210.0170.06714.71
5.3.200.0170.04314.70
5.3.190.0130.05314.73
5.3.180.0000.06314.70
5.3.170.0070.05314.74
5.3.160.0070.07714.38
5.3.150.0100.07014.63
5.3.140.0230.03314.67
5.3.130.0130.06714.77
5.3.120.0130.07014.54
5.3.110.0170.05714.59
5.3.100.0170.04314.02
5.3.90.0130.07014.17
5.3.80.0130.05013.96
5.3.70.0100.06714.09
5.3.60.0070.05714.20
5.3.50.0100.06714.13
5.3.40.0070.05714.02
5.3.30.0070.05713.99
5.3.20.0200.05013.70
5.3.10.0000.06013.73
5.3.00.0030.05713.61
5.2.170.0070.05011.08
5.2.160.0170.03311.30
5.2.150.0230.03011.28
5.2.140.0130.03311.36
5.2.130.0100.05011.23
5.2.120.0070.04011.08
5.2.110.0030.04311.23
5.2.100.0100.03711.34
5.2.90.0100.04011.20
5.2.80.0170.04711.07
5.2.70.0030.06311.32
5.2.60.0130.04011.18
5.2.50.0170.03311.14
5.2.40.0000.04711.11
5.2.30.0070.04011.16
5.2.20.0100.03711.16
5.2.10.0030.04010.96
5.2.00.0100.04310.93
5.1.60.0170.0379.96
5.1.50.0070.04310.30
5.1.40.0100.03010.20
5.1.30.0200.03010.54
5.1.20.0070.04310.50
5.1.10.0070.0439.95
5.1.00.0100.03310.25
5.0.50.0030.0308.74
5.0.40.0030.0308.30
5.0.30.0070.0438.25
5.0.20.0070.0238.48
5.0.10.0130.0338.21
5.0.00.0100.0408.23
4.4.90.0070.0277.48
4.4.80.0130.0237.48
4.4.70.0100.0177.48
4.4.60.0070.0177.48
4.4.50.0000.0237.48
4.4.40.0070.0337.48
4.4.30.0100.0137.48
4.4.20.0000.0307.48
4.4.10.0100.0277.48
4.4.00.0000.0437.48
4.3.110.0070.0307.48
4.3.100.0030.0237.48
4.3.90.0100.0137.48
4.3.80.0030.0337.48
4.3.70.0100.0177.48
4.3.60.0030.0307.48
4.3.50.0000.0277.48
4.3.40.0030.0307.48
4.3.30.0030.0207.48
4.3.20.0100.0237.48
4.3.10.0000.0277.48
4.3.00.0000.0234.36

preferences:
43.8 ms | 401 KiB | 5 Q