3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[] = array('1',null); $a[] = array('1','2'); $a[] = array('2',null); $a[] = array('2','2'); $a[] = array('1',null); $a[] = array('2','2'); print_r(array_map("unserialize", array_unique(array_map("serialize", $a))));

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.0040.01118.30
8.3.50.0070.01221.98
8.3.40.0100.00718.70
8.3.30.0070.00718.92
8.3.20.0070.00020.17
8.3.10.0000.00822.06
8.3.00.0080.00022.48
8.2.180.0150.00316.75
8.2.170.0100.00722.96
8.2.160.0040.01120.44
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.00817.63
8.2.110.0050.00522.07
8.2.100.0060.00617.81
8.2.90.0000.00719.08
8.2.80.0050.00518.04
8.2.70.0000.00917.50
8.2.60.0040.00417.92
8.2.50.0000.00818.07
8.2.40.0050.00318.09
8.2.30.0030.00718.05
8.2.20.0040.00417.66
8.2.10.0070.00017.65
8.2.00.0050.00317.68
8.1.280.0070.00725.92
8.1.270.0060.00322.07
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.82
8.1.230.0040.00719.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0040.00417.53
8.1.180.0050.00318.10
8.1.170.0000.00918.46
8.1.160.0000.00821.95
8.1.150.0070.00018.44
8.1.140.0040.00417.37
8.1.130.0060.00317.85
8.1.120.0040.00417.26
8.1.110.0070.00017.36
8.1.100.0040.00417.43
8.1.90.0040.00417.27
8.1.80.0030.00317.45
8.1.70.0030.00317.27
8.1.60.0050.00317.43
8.1.50.0000.00817.41
8.1.40.0000.00717.47
8.1.30.0040.00417.58
8.1.20.0040.00417.51
8.1.10.0040.00417.50
8.1.00.0100.00017.25
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0050.00218.38
8.0.270.0030.00317.11
8.0.260.0060.00016.74
8.0.250.0070.00016.85
8.0.240.0000.00816.96
8.0.230.0070.00016.86
8.0.220.0070.00016.89
8.0.210.0030.00316.77
8.0.200.0040.00416.91
8.0.190.0030.00516.83
8.0.180.0040.00416.93
8.0.170.0030.00516.94
8.0.160.0070.00016.90
8.0.150.0000.00816.92
8.0.140.0040.00416.88
8.0.130.0050.00013.19
8.0.120.0080.00016.85
8.0.110.0000.00716.77
8.0.100.0050.00316.99
8.0.90.0000.00716.76
8.0.80.0120.00316.84
8.0.70.0050.00216.87
8.0.60.0040.00416.75
8.0.50.0040.00316.88
8.0.30.0080.01417.10
8.0.20.0080.01017.40
8.0.10.0060.00317.02
8.0.00.0160.00916.62
7.4.330.0030.00315.00
7.4.320.0030.00316.43
7.4.300.0070.00016.53
7.4.290.0070.00016.36
7.4.280.0040.00416.55
7.4.270.0030.00316.50
7.4.260.0040.00416.50
7.4.250.0070.00016.35
7.4.240.0040.00416.55
7.4.230.0070.00016.43
7.4.220.0080.00916.37
7.4.210.0070.00916.61
7.4.200.0000.00716.32
7.4.190.0000.00716.40
7.4.160.0150.00016.41
7.4.150.0130.00617.40
7.4.140.0180.00317.86
7.4.130.0050.01416.40
7.4.120.0050.01216.50
7.4.110.0070.01016.46
7.4.100.0140.00316.36
7.4.90.0170.00016.55
7.4.80.0070.01119.39
7.4.70.0030.01316.44
7.4.60.0100.00716.31
7.4.50.0030.00616.16
7.4.40.0030.01022.77
7.4.30.0090.00716.56
7.4.00.0100.00914.83
7.3.330.0000.00513.05
7.3.320.0000.00513.14
7.3.310.0000.00716.16
7.3.300.0030.00516.09
7.3.290.0100.00616.20
7.3.280.0100.00816.23
7.3.270.0060.01017.40
7.3.260.0100.01116.29
7.3.250.0070.00916.33
7.3.240.0100.00716.50
7.3.230.0120.00316.39
7.3.210.0120.00616.37
7.3.200.0140.00319.39
7.3.190.0090.01116.30
7.3.180.0120.00616.55
7.3.170.0070.01116.36
7.3.160.0090.00916.45
7.3.120.0070.01014.87
7.3.110.0070.01014.68
7.3.100.0000.01314.76
7.3.90.0060.00914.49
7.3.80.0040.01214.48
7.3.70.0090.00914.85
7.3.60.0030.01014.51
7.3.50.0070.00414.48
7.3.40.0100.00314.86
7.3.30.0000.01014.84
7.3.20.0040.01116.74
7.3.10.0100.00416.78
7.3.00.0060.00916.82
7.2.330.0140.00316.52
7.2.320.0100.00716.35
7.2.310.0100.00616.48
7.2.300.0090.00916.50
7.2.290.0100.00816.52
7.2.250.0030.01415.22
7.2.240.0100.01014.93
7.2.230.0060.00614.83
7.2.220.0090.00914.75
7.2.210.0110.00715.07
7.2.200.0080.00415.04
7.2.190.0070.01014.99
7.2.180.0000.01014.91
7.2.170.0060.00614.71
7.2.60.0000.01616.61
7.2.00.0100.01419.16
7.1.330.0040.01115.65
7.1.320.0070.00715.64
7.1.310.0040.00715.62
7.1.300.0100.00715.85
7.1.290.0050.00515.57
7.1.280.0060.00615.48
7.1.270.0070.00315.72
7.1.260.0000.01515.80
7.1.200.0000.01215.42
7.1.100.0080.00418.06
7.1.70.0070.00416.80
7.1.60.0070.01819.82
7.1.50.0030.00716.90
7.1.00.0070.07322.46
7.0.200.0090.00316.78
7.0.140.0030.06722.21
7.0.60.0030.04019.86
7.0.50.0070.08017.90
7.0.40.0130.09020.25
7.0.30.0270.08020.08
7.0.20.0300.04720.24
7.0.10.0500.06320.27
7.0.00.0170.08020.12
5.6.280.0000.07721.04
5.6.210.0070.08020.61
5.6.200.0030.04018.18
5.6.190.0130.07720.42
5.6.180.3430.04020.41
5.6.170.0230.03720.50
5.6.160.0130.08020.50
5.6.150.0130.07018.14
5.6.140.0070.08318.27
5.6.130.0030.08318.14
5.6.120.0170.07021.11
5.6.110.0100.08021.07
5.6.100.0070.05021.11
5.6.90.0070.04721.12
5.6.80.0130.07320.38
5.6.70.0270.08320.38
5.5.350.0070.07320.40
5.5.340.0030.03717.95
5.5.330.0100.08020.41
5.5.320.0230.07720.32
5.5.310.0330.06720.23
5.5.300.0000.05017.95
5.5.290.0100.08017.95
5.5.280.0070.03720.85
5.5.270.0100.03720.89
5.5.260.0170.07720.95
5.5.250.0170.07320.79
5.5.240.0170.07320.05
5.4.450.0770.06319.48
5.4.440.0070.06319.70
5.4.430.0200.05319.56
5.4.420.0070.05719.38
5.4.410.0070.05719.30
5.4.400.0130.05318.82
5.4.390.0070.05718.48
5.4.380.0200.06318.81
5.4.370.0170.05318.50
5.4.360.0170.05318.72
5.4.350.0300.07018.72
5.4.340.0230.05718.72
5.4.320.0070.03512.49
5.4.310.0060.03912.49
5.4.300.0070.04012.50
5.4.290.0060.03712.49
5.4.280.0060.03512.39
5.4.270.0030.05718.79
5.4.260.0170.06718.65
5.4.250.0100.05319.09
5.4.240.0170.04718.96
5.4.230.0100.07318.64
5.4.220.0170.07018.76
5.4.210.0000.06318.89
5.4.200.0000.08318.96
5.4.190.0130.07018.75
5.4.180.0130.04718.98
5.4.170.0070.06718.91
5.4.160.0100.05319.00
5.4.150.0030.06318.77
5.4.140.0100.05316.57
5.4.130.0170.06016.36
5.4.120.0200.04316.34
5.4.110.0170.06716.53
5.4.100.0070.05316.33
5.4.90.0000.06016.46
5.4.80.0170.06316.49
5.4.70.0070.07016.63
5.4.60.0070.05316.47
5.4.50.0130.06716.54
5.4.40.0130.05716.59
5.4.30.0100.05316.61
5.4.20.0130.07016.46
5.4.10.0030.05716.37
5.4.00.0030.07015.84
5.3.290.0070.04112.80
5.3.280.0130.05014.61
5.3.270.0170.04714.61
5.3.260.0070.05714.79
5.3.250.0070.05014.58
5.3.240.0130.05014.60
5.3.230.0230.04714.68
5.3.220.0230.06714.57
5.3.210.0130.07014.59
5.3.200.0070.06014.47
5.3.190.0130.04714.57
5.3.180.0130.04714.65
5.3.170.0100.07014.55
5.3.160.0170.06014.39
5.3.150.0100.06014.58
5.3.140.0100.07014.64
5.3.130.0130.05714.73
5.3.120.0070.06314.64
5.3.110.0100.05314.64
5.3.100.0100.06314.02
5.3.90.0100.07014.01
5.3.80.0170.06014.01
5.3.70.0100.06714.24
5.3.60.0100.06013.90
5.3.50.0100.07013.96
5.3.40.0030.05314.04
5.3.30.0170.05314.00
5.3.20.0100.05313.78
5.3.10.0100.06713.55
5.3.00.0030.05713.63
5.2.170.0070.06011.24
5.2.160.0070.06311.05
5.2.150.0070.04710.98
5.2.140.0070.04311.15
5.2.130.0070.04710.94
5.2.120.0100.03711.17
5.2.110.0030.05711.19
5.2.100.0070.04010.93
5.2.90.0230.04011.19
5.2.80.0070.04711.09
5.2.70.0170.04011.01
5.2.60.0030.04011.13
5.2.50.0030.04711.20
5.2.40.0170.04710.98
5.2.30.0030.04010.94
5.2.20.0070.04311.04
5.2.10.0070.03710.95
5.2.00.0130.03010.94
5.1.60.0200.03710.15
5.1.50.0070.0339.96
5.1.40.0030.0509.89
5.1.30.0100.04310.17
5.1.20.0070.04310.51
5.1.10.0100.03310.12
5.1.00.0070.03310.30
5.0.50.0070.0308.74
5.0.40.0100.0208.47
5.0.30.0070.0408.37
5.0.20.0030.0338.03
5.0.10.0030.0408.19
5.0.00.0100.0338.16
4.4.90.0070.0206.89
4.4.80.0000.0236.89
4.4.70.0030.0236.89
4.4.60.0100.0276.89
4.4.50.0030.0206.89
4.4.40.0070.0306.89
4.4.30.0030.0206.89
4.4.20.0070.0206.89
4.4.10.0000.0276.89
4.4.00.0100.0336.89
4.3.110.0030.0306.89
4.3.100.0100.0136.89
4.3.90.0030.0206.89
4.3.80.0070.0436.89
4.3.70.0000.0236.89
4.3.60.0000.0276.89
4.3.50.0070.0236.89
4.3.40.0000.0476.89
4.3.30.0070.0176.89
4.3.20.0000.0276.89
4.3.10.0030.0206.89
4.3.00.0030.0277.39

preferences:
40.42 ms | 401 KiB | 5 Q