3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 'firstName' => 'T', 'lastName' => 'B', 'email' => 'glh@gmail.com' ], [ 'firstName' => 'L', 'lastName' => 'Kr', 'email' => 'email1@gmail.com' ], [ 'firstName' => 'T', 'lastName' => 'B', 'email' => 'glh@gmail.com' ] ]; $res = array_intersect_key($arr, array_unique(array_column($arr, 'email'))); print_r($res);

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.5.10.0110.00616.69
8.5.00.0130.00819.72
8.4.150.0010.00014.05
8.4.140.0130.00817.57
8.4.130.0140.00817.68
8.4.120.0140.00522.25
8.4.110.0040.00622.48
8.4.100.0110.00917.50
8.4.90.0080.01218.61
8.4.80.0090.01017.92
8.4.70.0060.00317.93
8.4.60.0110.01218.73
8.4.50.0080.00419.26
8.4.40.0070.01119.26
8.4.30.0060.01320.47
8.4.20.0150.00620.61
8.4.10.0160.00319.33
8.3.280.0100.01018.33
8.3.270.0120.00816.29
8.3.260.0150.00516.58
8.3.250.0090.00918.86
8.3.240.0120.00716.42
8.3.230.0110.00816.36
8.3.220.0080.00717.06
8.3.210.0070.01018.29
8.3.200.0040.00416.60
8.3.190.0110.00717.24
8.3.180.0120.00716.36
8.3.170.0060.01217.07
8.3.160.0030.00518.37
8.3.150.0100.01020.43
8.3.140.0080.00018.30
8.3.130.0060.00316.34
8.3.120.0070.01318.96
8.3.110.0060.01220.94
8.3.100.0060.00318.46
8.3.90.0060.00826.77
8.3.80.0060.00316.63
8.3.70.0000.01416.62
8.3.60.0080.00818.31
8.3.50.0070.00816.55
8.3.40.0120.00918.84
8.3.30.0150.00018.67
8.3.20.0040.00420.60
8.3.10.0040.00419.12
8.3.00.0070.00021.90
8.2.290.0090.00922.15
8.2.280.0050.00318.46
8.2.270.0050.00317.07
8.2.260.0150.00320.10
8.2.250.0070.01116.63
8.2.240.0090.00019.11
8.2.230.0060.00322.58
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0040.00416.38
8.2.190.0120.00316.62
8.2.180.0100.00625.92
8.2.170.0030.01022.96
8.2.160.0030.01020.38
8.2.150.0060.00624.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00720.75
8.2.110.0060.00321.91
8.2.100.0040.00817.78
8.2.90.0050.00220.50
8.2.80.0030.00517.97
8.2.70.0040.00417.93
8.2.60.0000.00817.91
8.2.50.0040.00418.10
8.2.40.0000.00820.47
8.2.30.0070.00019.13
8.2.20.0040.00418.04
8.2.10.0040.00418.92
8.2.00.0070.00019.48
8.1.330.0130.00621.86
8.1.320.0120.00716.00
8.1.310.0080.00016.59
8.1.300.0150.00319.50
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0040.00420.75
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00622.47
8.1.230.0050.00520.91
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0090.00017.12
8.1.190.0080.00017.00
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0000.00718.78
8.1.150.0040.00418.87
8.1.140.0030.00518.75
8.1.130.0030.00619.97
8.1.120.0000.00717.44
8.1.110.0050.00317.35
8.1.100.0040.00417.29
8.1.90.0000.00817.38
8.1.80.0060.00317.43
8.1.70.0080.00017.28
8.1.60.0060.00617.52
8.1.50.0040.00417.39
8.1.40.0030.00617.48
8.1.30.0040.00417.61
8.1.20.0040.00417.48
8.1.10.0040.00417.34
8.1.00.0070.00017.35
8.0.300.0040.00419.85
8.0.290.0030.00516.63
8.0.280.0000.00718.25
8.0.270.0000.00716.74
8.0.260.0000.00618.38
8.0.250.0030.00316.81
8.0.240.0000.00716.90
8.0.230.0000.00716.80
8.0.220.0000.00716.80
8.0.210.0000.00716.84
8.0.200.0000.00716.78
8.0.190.0080.00016.89
8.0.180.0000.00716.85
8.0.170.0000.00816.85
8.0.160.0040.00416.89
8.0.150.0030.00316.78
8.0.140.0040.00416.69
8.0.130.0070.00013.29
8.0.120.0000.00716.77
8.0.110.0000.00816.68
8.0.100.0050.00216.73
8.0.90.0000.00816.66
8.0.80.0050.00916.79
8.0.70.0080.00016.88
8.0.60.0050.00316.86
8.0.50.0040.00416.80
8.0.30.0120.00617.11
8.0.20.0100.01017.00
8.0.10.0040.00416.81
8.0.00.0130.00516.72
7.4.330.0000.00415.55
7.4.320.0090.00016.52
7.4.300.0000.00616.42
7.4.290.0000.00816.43
7.4.280.0070.00016.43
7.4.270.0070.00016.45
7.4.260.0040.00416.52
7.4.250.0070.00016.39
7.4.240.0040.00416.54
7.4.230.0070.00016.61
7.4.220.0040.00416.56
7.4.210.0110.00616.51
7.4.200.0050.00216.57
7.4.160.0140.00516.46
7.4.140.0170.00317.86
7.4.130.0060.01216.52
7.4.120.0120.01216.45
7.4.110.0130.01016.38
7.4.100.0090.00616.59
7.4.90.0090.00616.40
7.4.80.0060.01319.39
7.4.70.0080.01116.34
7.4.60.0030.01216.42
7.4.50.0030.01016.15
7.4.40.0120.00316.09
7.4.00.0070.00714.79
7.3.330.0060.00012.90
7.3.320.0060.00013.01
7.3.310.0000.00816.02
7.3.300.0040.00416.14
7.3.290.0060.00916.24
7.3.280.0110.00516.14
7.3.260.0100.00716.36
7.3.240.0120.00716.11
7.3.230.0140.00316.36
7.3.210.0060.01416.25
7.3.200.0130.00316.42
7.3.190.0160.00016.40
7.3.180.0130.00816.30
7.3.170.0130.00916.16
7.3.160.0040.01216.20
7.3.50.0070.01514.54
7.3.40.0110.01114.70
7.3.30.0100.01314.66
7.3.20.0830.00714.50
7.3.10.0090.00314.41
7.3.00.0060.00614.79
7.2.330.0120.00616.23
7.2.320.0070.01416.38
7.2.310.0060.01116.61
7.2.300.0030.01616.57
7.2.290.0030.01616.58
7.2.180.0060.00914.59
7.2.170.0150.00914.91
7.2.160.0190.00314.98
7.2.150.0090.00314.83
7.2.140.0060.00615.09
7.2.130.0040.00814.71
7.2.120.0110.00414.95
7.2.110.0080.00514.90
7.2.100.0100.01114.90
7.2.90.0130.01314.65
7.2.80.0120.00315.04
7.2.70.0100.02114.95
7.2.60.0060.01315.09
7.2.50.0090.01515.11
7.2.40.0110.00314.77
7.2.30.0090.01614.62
7.2.20.0070.00715.00
7.2.10.0130.00314.77
7.2.00.0070.01015.01
7.1.280.0200.00913.86
7.1.270.0100.00713.64
7.1.260.0070.00713.84
7.1.250.0090.00413.98

preferences:
36.69 ms | 403 KiB | 5 Q