3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('Magento\CatalogSearch\Model\Layer\Filter\Category','Magento\CatalogSearch\Model\Layer\Filter\Attribute','Magento\CatalogSearch\Model\Layer\Filter\Attribute','Magento\CatalogSearch\Model\Layer\Filter\Attribute','Magento\CatalogSearch\Model\Layer\Filter\Attribute'); print_r($array); $data = array_shift($array); $array[]= $data; print_r($array);

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.4.140.0130.00817.66
8.4.130.0130.00717.79
8.4.120.0110.00820.47
8.4.110.0110.00822.42
8.4.100.0120.00817.59
8.4.90.0070.00320.54
8.4.80.0060.00417.98
8.4.70.0140.01117.82
8.4.60.0120.00918.61
8.4.50.0110.00720.40
8.4.40.0130.00717.56
8.4.30.0130.00717.50
8.4.20.0080.00318.51
8.4.10.0060.01219.41
8.3.270.0150.01216.53
8.3.260.0030.00616.64
8.3.250.0090.01018.55
8.3.240.0120.00716.43
8.3.230.0070.00916.52
8.3.220.0100.00917.13
8.3.210.0080.01116.59
8.3.200.0100.00816.68
8.3.190.0120.00717.29
8.3.180.0100.00816.66
8.3.170.0150.00318.98
8.3.160.0090.00920.12
8.3.150.0150.00316.43
8.3.140.0040.00417.19
8.3.130.0060.00316.46
8.3.120.0070.01120.71
8.3.110.0090.00020.94
8.3.100.0080.00016.50
8.3.90.0040.00416.48
8.3.80.0030.00718.43
8.3.70.0120.00616.75
8.3.60.0170.00318.55
8.3.50.0150.01017.95
8.3.40.0100.01018.73
8.3.30.0150.00018.62
8.3.20.0080.00018.48
8.3.10.0000.00721.87
8.3.00.0040.00421.95
8.2.290.0120.00620.50
8.2.280.0080.00820.07
8.2.270.0110.00718.90
8.2.260.0040.00416.50
8.2.250.0040.00416.63
8.2.240.0050.00516.96
8.2.230.0090.00922.58
8.2.220.0130.00624.06
8.2.210.0100.00326.77
8.2.200.0040.00718.29
8.2.190.0170.00016.58
8.2.180.0040.01118.23
8.2.170.0110.00422.96
8.2.160.0110.00320.43
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00321.00
8.2.110.0060.00321.06
8.2.100.0120.00017.77
8.2.90.0080.00417.84
8.2.80.0030.00517.97
8.2.70.0030.00518.05
8.2.60.0060.00318.16
8.2.50.0050.00318.10
8.2.40.0000.00821.24
8.2.30.0000.00820.57
8.2.20.0050.00317.98
8.2.10.0000.00718.12
8.2.00.0000.00819.44
8.1.330.0130.00616.55
8.1.320.0110.01115.90
8.1.310.0090.00918.09
8.1.300.0060.01218.05
8.1.290.0060.00318.88
8.1.280.0090.00925.92
8.1.270.0040.00420.20
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0140.00017.39
8.1.230.0100.00322.67
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0090.00017.10
8.1.180.0000.00818.10
8.1.170.0030.00618.58
8.1.160.0040.00418.70
8.1.150.0050.00318.93
8.1.140.0040.00418.82
8.1.130.0000.00820.20
8.1.120.0040.00417.37
8.1.110.0000.00717.46
8.1.100.0000.00717.38
8.1.90.0020.00517.38
8.1.80.0030.00317.37
8.1.70.0050.00217.30
8.1.60.0000.01217.48
8.1.50.0070.00317.45
8.1.40.0030.00517.51
8.1.30.0030.00517.58
8.1.20.0000.00717.51
8.1.10.0030.00517.48
8.1.00.0030.00617.33
8.0.300.0000.00719.66
8.0.290.0080.00016.58
8.0.280.0000.00818.29
8.0.270.0000.00716.70
8.0.260.0030.00318.32
8.0.250.0030.00316.86
8.0.240.0020.00516.86
8.0.230.0030.00316.92
8.0.220.0050.00316.72
8.0.210.0040.00416.81
8.0.200.0030.00316.78
8.0.190.0020.00516.72
8.0.180.0040.00416.82
8.0.170.0030.00616.81
8.0.160.0070.00016.85
8.0.150.0000.00716.77
8.0.140.0000.00816.68
8.0.130.0030.00313.19
8.0.120.0040.00416.80
8.0.110.0040.00416.66
8.0.100.0050.00516.71
8.0.90.0000.00716.69
8.0.80.0030.01116.79
8.0.70.0040.00416.66
8.0.60.0040.00416.79
8.0.50.0040.00416.79
8.0.30.0090.00917.04
8.0.20.0050.01417.40
8.0.10.0000.00716.79
8.0.00.0160.00216.75
7.4.330.0000.00515.55
7.4.320.0060.00016.52
7.4.300.0000.00616.42
7.4.290.0000.00716.54
7.4.280.0080.00316.53
7.4.270.0000.00716.50
7.4.260.0000.00716.43
7.4.250.0030.00316.44
7.4.240.0040.00416.42
7.4.230.0030.00316.41
7.4.220.0080.00016.56
7.4.210.0040.01116.46
7.4.200.0040.00416.51
7.4.160.0110.00616.43
7.4.140.0050.01217.86
7.4.130.0090.01216.41
7.4.120.0100.00816.48
7.4.110.0170.00716.40
7.4.100.0070.01016.31
7.4.90.0090.00616.48
7.4.80.0000.02219.39
7.4.70.0090.01216.41
7.4.60.0130.00716.40
7.4.50.0080.01116.17
7.4.40.0100.00616.18
7.4.00.0090.00714.87
7.3.330.0000.00513.10
7.3.320.0060.00013.05
7.3.310.0070.00016.13
7.3.300.0030.00316.23
7.3.290.0030.00316.11
7.3.280.0090.00916.18
7.3.260.0130.00716.29
7.3.240.0090.00916.36
7.3.230.0050.01116.39
7.3.210.0040.01316.18
7.3.200.0090.00916.33
7.3.190.0100.01016.49
7.3.180.0080.00816.24
7.3.170.0170.00016.20
7.3.160.0100.01016.42
7.3.120.0030.01414.78
7.3.110.0090.00914.55
7.3.100.0070.00714.32
7.3.90.0110.00014.69
7.3.80.0030.00514.69
7.3.70.0060.00614.68
7.3.60.0060.00314.62
7.3.50.0120.00614.76
7.3.40.0090.00614.73
7.3.30.0030.01014.73
7.3.20.0030.01016.41
7.3.10.0100.00216.53
7.3.00.0050.00616.50
7.2.330.0060.01116.67
7.2.320.0190.00016.35
7.2.310.0090.00916.65
7.2.300.0040.01216.48
7.2.290.0030.01316.44
7.2.250.0060.01214.79
7.2.240.0090.00914.95
7.2.230.0080.01115.09
7.2.220.0150.00314.75
7.2.210.0090.00414.77
7.2.200.0040.00414.91
7.2.190.0070.00714.77
7.2.180.0130.00014.77
7.2.170.0090.00615.05
7.2.130.0070.01016.57
7.2.120.0040.01116.78
7.2.110.0060.00316.80
7.2.100.0860.00815.77
7.2.90.0940.00515.68
7.2.80.1530.00515.82
7.2.70.1430.00315.90
7.2.60.0880.00815.80
7.2.50.1010.00515.62
7.2.40.1080.00815.57
7.2.30.1350.00515.68
7.2.20.1470.00315.68
7.2.10.0920.00515.66
7.2.00.1120.00115.66
7.1.330.0040.01215.93
7.1.320.0040.01415.86
7.1.310.0000.01415.52
7.1.300.0060.00615.80
7.1.290.0110.00415.54
7.1.280.0110.00415.88
7.1.270.0060.00615.43
7.1.260.0090.00015.70
7.1.250.0060.00615.50
7.1.220.3870.00013.86
7.1.210.2410.00713.88
7.1.200.1450.00613.98
7.1.190.1960.00613.76
7.1.180.2630.00713.97
7.1.170.2370.01013.60
7.1.160.2400.00713.58
7.1.150.1950.00713.15
7.1.140.2770.00313.57
7.1.130.2030.00613.58
7.1.120.2080.00313.48
7.1.110.2670.01013.18
7.1.100.2770.01013.55
7.1.90.3950.00313.68
7.1.80.3070.01013.59
7.1.70.2800.00313.38
7.1.60.3380.00331.79
7.1.50.4700.00331.31
7.1.40.3960.00331.72
7.1.30.4750.00731.49
7.1.20.3770.00331.39
7.1.10.0110.01113.37
7.1.00.2530.01013.45
5.6.380.0120.00814.20

preferences:
31.09 ms | 403 KiB | 5 Q