3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo array('filter' => 'a') + array('filter' => 'b');

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.0090.00616.50
8.3.50.0120.00622.85
8.3.40.0150.00318.76
8.3.30.0070.00718.81
8.3.20.0040.00420.22
8.3.10.0080.00021.72
8.3.00.0060.00317.38
8.2.180.0110.01418.29
8.2.170.0180.00322.96
8.2.160.0030.01020.52
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00421.09
8.2.110.0040.00422.31
8.2.100.0120.00017.78
8.2.90.0110.00019.01
8.2.80.0080.00017.97
8.2.70.0000.00817.49
8.2.60.0050.00317.92
8.2.50.0060.00318.07
8.2.40.0020.00518.16
8.2.30.0000.00717.99
8.2.20.0040.00417.61
8.2.10.0040.00417.95
8.2.00.0040.00417.59
8.1.280.0030.01025.92
8.1.270.0050.00323.89
8.1.260.0020.00526.35
8.1.250.0070.00028.09
8.1.240.0040.00421.95
8.1.230.0110.00019.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0040.00418.41
8.1.160.0040.00421.93
8.1.150.0000.00718.79
8.1.140.0000.00717.23
8.1.130.0040.00417.66
8.1.120.0000.00717.39
8.1.110.0070.00017.32
8.1.100.0070.00017.21
8.1.90.0070.00017.30
8.1.80.0040.00417.32
8.1.70.0030.00317.26
8.1.60.0060.00317.43
8.1.50.0040.00417.35
8.1.40.0030.00617.34
8.1.30.0030.00617.48
8.1.20.0000.00717.50
8.1.10.0030.00517.29
8.1.00.0000.00817.26
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0000.00718.36
8.0.270.0000.00817.05
8.0.260.0030.00317.10
8.0.250.0000.00716.88
8.0.240.0030.00316.93
8.0.230.0030.00316.92
8.0.220.0070.00016.77
8.0.210.0030.00316.68
8.0.200.0070.00016.76
8.0.190.0040.00416.95
8.0.180.0050.00316.88
8.0.170.0040.00416.82
8.0.160.0040.00416.93
8.0.150.0030.00316.72
8.0.140.0080.00416.67
8.0.130.0030.00313.23
8.0.120.0080.00016.75
8.0.110.0000.00716.71
8.0.100.0000.00816.70
8.0.90.0050.00216.68
8.0.80.0130.00916.82
8.0.70.0000.00816.65
8.0.60.0000.00816.68
8.0.50.0000.00716.88
8.0.30.0050.01316.81
8.0.20.0050.01317.40
8.0.10.0070.00016.76
8.0.00.0110.00816.70
7.4.330.0000.00515.02
7.4.320.0030.00316.29
7.4.300.0000.00616.25
7.4.290.0060.00016.38
7.4.280.0030.00616.48
7.4.270.0000.00716.36
7.4.260.0000.00716.33
7.4.250.0000.00716.33
7.4.240.0030.00316.43
7.4.230.0070.00016.56
7.4.220.0100.00616.42
7.4.210.0060.01316.39
7.4.200.0070.00016.34
7.4.160.0130.00316.30
7.4.150.0150.00317.40
7.4.140.0100.00917.86
7.4.130.0090.00816.37
7.4.120.0150.00216.44
7.4.110.0110.01116.44
7.4.100.0120.00416.38
7.4.90.0130.00316.34
7.4.80.0120.00619.39
7.4.70.0100.01016.34
7.4.60.0100.00716.31
7.4.50.0000.00816.38
7.4.40.0120.00316.35
7.4.30.0030.01316.47
7.4.00.0000.01614.82
7.3.330.0000.00613.13
7.3.320.0000.00513.05
7.3.310.0000.00716.15
7.3.300.0000.00716.01
7.3.290.0040.01716.16
7.3.280.0120.00716.21
7.3.270.0090.00917.40
7.3.260.0170.00616.22
7.3.250.0080.00916.33
7.3.240.0140.00716.27
7.3.230.0110.00616.39
7.3.210.0110.00816.20
7.3.200.0150.00819.39
7.3.190.0080.00816.27
7.3.180.0170.00316.22
7.3.170.0160.00316.27
7.3.160.0060.00916.36
7.2.330.0070.01116.40
7.2.320.0160.00016.58
7.2.310.0140.00716.40
7.2.300.0120.00316.59
7.2.290.0100.00616.57
7.2.60.0100.00716.83
7.2.00.0030.00919.28
7.1.200.0030.00615.70
7.1.70.0130.00016.68
7.1.60.0030.00717.31
7.1.50.0120.00616.67
7.1.00.0100.07022.35
7.0.200.0000.01116.56
7.0.140.0000.07721.97
7.0.60.0030.05019.89
7.0.50.0070.08317.87
7.0.40.0070.08020.04
7.0.30.0370.04320.18
7.0.20.0270.08020.30
7.0.10.0130.08020.17
7.0.00.0130.06320.12
5.6.280.0000.07721.10
5.6.210.0030.04020.70
5.6.200.0100.08018.13
5.6.190.0000.06020.61
5.6.180.0230.03720.27
5.6.170.0230.07020.38
5.6.160.0070.06320.44
5.6.150.0070.04018.18
5.6.140.0030.05018.14
5.6.130.0070.08718.18
5.6.120.0130.05321.14
5.6.110.0130.08021.10
5.6.100.0070.08720.97
5.6.90.0100.08320.99
5.6.80.0100.07720.34
5.5.350.0000.08020.40
5.5.340.0070.04017.93
5.5.330.0130.03320.21
5.5.320.0330.06020.20
5.5.310.0300.04720.20
5.5.300.0030.06718.02
5.5.290.0000.04317.97
5.5.280.0000.04720.96
5.5.270.0130.09720.76
5.5.260.0130.08320.76
5.5.250.0030.05020.61
5.5.240.0300.07720.14
5.4.450.0230.04019.57
5.4.440.0300.04019.40
5.4.430.0300.04319.45
5.4.420.0470.04719.25
5.4.410.0270.04019.08
5.4.400.0230.04019.16
5.4.390.0200.05018.78
5.4.380.0070.07018.71
5.4.370.1100.05718.50
5.4.360.0400.06718.59
5.4.350.1230.05018.53
5.4.340.0830.05018.54
5.4.320.0050.03612.45
5.4.310.0060.04012.45
5.4.300.0050.03912.45
5.4.290.0040.04112.45
5.4.280.0110.03312.34
5.4.270.0090.03512.34
5.4.260.0060.03712.35
5.4.250.0070.03912.34
5.4.240.0080.03412.35
5.4.230.0050.04112.34
5.4.220.0040.03912.34
5.4.210.0050.03612.34
5.4.200.0080.03512.34
5.4.190.0070.03512.34
5.4.180.0090.03612.34
5.4.170.0100.03912.35
5.4.160.0070.04312.34
5.4.150.0060.03512.34
5.4.140.0040.04012.02
5.4.130.0050.04012.01
5.4.120.0050.04011.96
5.4.110.0070.03611.96
5.4.100.0080.03711.96
5.4.90.0070.03511.96
5.4.80.0090.03611.96
5.4.70.0050.03611.96
5.4.60.0050.03611.96
5.4.50.0070.03311.96
5.4.40.0040.03711.95
5.4.30.0030.03911.95
5.4.20.0080.03111.95
5.4.10.0080.03211.95
5.4.00.0100.03011.44

preferences:
42.14 ms | 401 KiB | 5 Q