3v4l.org

run code in 300+ PHP versions simultaneously
<?php $colldata=array("bench-press-rod"=>'',"adidas-classic-backpack"=>'93549559913',"adidas-classic-backpack-legend-ink-multicolour"=>'',"puma-suede-classic-regal"=>'93549920361,93549723753'); $colldata2=array(0 => 'bench-press-rod',1 => 'adidas-classic-backpack'); print_r(array_intersect_key($colldata, array_flip($colldata2)));

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.20.0190.00018.94
8.4.10.0040.00417.61
8.3.150.0040.00417.07
8.3.140.0090.01216.25
8.3.130.0090.00016.58
8.3.120.0150.00418.80
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0100.01026.77
8.3.80.0070.00417.97
8.3.70.0040.01116.25
8.3.60.0110.00418.39
8.3.50.0130.00521.22
8.3.40.0180.00318.62
8.3.30.0140.00018.73
8.3.20.0080.00020.63
8.3.10.0040.00420.13
8.3.00.0050.00323.51
8.2.270.0030.01018.92
8.2.260.0040.00418.95
8.2.250.0080.00018.43
8.2.240.0070.00318.96
8.2.230.0040.00422.58
8.2.220.0000.01537.54
8.2.210.0110.00726.77
8.2.200.0090.00016.50
8.2.190.0040.01116.58
8.2.180.0060.00816.32
8.2.170.0070.01118.80
8.2.160.0090.00922.96
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00421.00
8.2.110.0060.00619.26
8.2.100.0080.00317.72
8.2.90.0030.00517.91
8.2.80.0080.00019.17
8.2.70.0000.00817.93
8.2.60.0040.00418.03
8.2.50.0080.00418.10
8.2.40.0050.00219.17
8.2.30.0040.00419.06
8.2.20.0070.00018.03
8.2.10.0000.00719.24
8.2.00.0030.00319.17
8.1.310.0050.00316.77
8.1.300.0000.00817.66
8.1.290.0040.00418.88
8.1.280.0130.00325.92
8.1.270.0080.00020.56
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.19
8.1.230.0110.00021.02
8.1.220.0000.00817.74
8.1.210.0080.00018.78
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0080.00018.63
8.1.160.0000.00718.83
8.1.150.0040.00418.89
8.1.140.0040.00420.89
8.1.130.0000.00720.09
8.1.120.0000.00817.29
8.1.110.0000.00717.45
8.1.100.0080.00017.42
8.1.90.0070.00017.40
8.1.80.0080.00017.39
8.1.70.0000.00717.29
8.1.60.0030.00517.45
8.1.50.0030.00517.49
8.1.40.0050.00317.46
8.1.30.0050.00317.60
8.1.20.0040.00417.46
8.1.10.0050.00317.41
8.1.00.0040.00417.36
8.0.300.0040.00420.11
8.0.290.0030.00616.63
8.0.280.0070.00018.29
8.0.270.0000.00716.67
8.0.260.0030.00320.01
8.0.250.0070.00016.91
8.0.240.0040.00416.83
8.0.230.0040.00416.93
8.0.220.0050.00216.72
8.0.210.0000.00716.79
8.0.200.0000.00616.93
8.0.190.0000.00716.88
8.0.180.0040.00416.77
8.0.170.0040.00716.74
8.0.160.0040.00416.87
8.0.150.0000.00816.84
8.0.140.0000.00716.78
8.0.130.0050.00013.32
8.0.120.0000.00716.84
8.0.110.0050.00216.70
8.0.100.0000.00716.89
8.0.90.0000.00716.73
8.0.80.0120.00316.78
8.0.70.0080.00016.81
8.0.60.0070.00016.85
8.0.50.0000.00716.82
8.0.30.0120.00917.00
8.0.20.0090.00916.74
8.0.10.0000.00716.98
8.0.00.0080.01116.60
7.4.330.0030.00316.74
7.4.320.0000.00716.45
7.4.300.0000.00616.41
7.4.290.0030.00516.54
7.4.280.0000.00716.45
7.4.270.0070.00016.42
7.4.260.0030.00313.19
7.4.250.0040.00416.41
7.4.240.0010.00616.45
7.4.230.0000.00716.61
7.4.220.0030.00616.64
7.4.210.0060.00716.50
7.4.200.0000.00716.54
7.4.140.0120.01217.86
7.4.130.0070.01016.43
7.4.120.0060.01016.64
7.4.110.0070.01616.33
7.4.100.0120.00916.29
7.4.90.0060.01116.62
7.4.80.0100.01119.39
7.4.70.0060.01016.31
7.4.60.0040.01116.54
7.4.50.0100.00716.47
7.4.40.0130.00316.43
7.4.00.0160.00015.14
7.3.330.0000.00716.20
7.3.320.0060.00012.93
7.3.310.0070.00016.00
7.3.300.0030.00316.12
7.3.290.0070.00016.12
7.3.260.0110.00816.20
7.3.240.0110.00716.27
7.3.230.0060.01216.13
7.3.210.0120.00316.43
7.3.200.0090.00916.33
7.3.190.0150.00016.02
7.3.180.0070.00716.30
7.3.170.0130.00316.52
7.3.160.0090.00916.06
7.3.80.0100.00014.54
7.3.70.0080.00414.54
7.3.60.0040.00814.60
7.3.50.0030.01214.77
7.3.40.0000.01114.73
7.3.30.0030.01014.64
7.3.20.0120.00614.41
7.3.10.0040.01114.55
7.3.00.0090.00914.68
7.2.330.0170.00016.29
7.2.320.0070.01016.21
7.2.310.0040.01216.39
7.2.300.0170.00016.13
7.2.290.0100.00716.48
7.2.210.0040.00714.93
7.2.200.0040.01114.86
7.2.190.0070.00714.43
7.2.180.0080.00414.90
7.2.170.0140.00314.81
7.2.160.0060.00914.87
7.2.150.0060.01214.80
7.2.140.0070.00714.90
7.2.130.0150.00314.81
7.2.120.0180.00314.73
7.2.110.0090.00614.74
7.2.100.0090.00914.46
7.2.90.0130.00314.86
7.2.80.0030.01014.82
7.2.70.0150.00015.04
7.2.60.0120.00414.43
7.2.50.0060.00914.55
7.2.40.0100.00714.89
7.2.30.0090.01214.58
7.2.20.0140.00614.77
7.2.10.0060.00914.59
7.2.00.0100.01014.96
7.1.310.0030.00913.65
7.1.300.0070.00713.72
7.1.290.0090.00913.77
7.1.280.0150.00413.94
7.1.270.0140.00013.78
7.1.260.0040.01313.91
7.1.250.0110.01113.81

preferences:
27.31 ms | 403 KiB | 5 Q