3v4l.org

run code in 300+ PHP versions simultaneously
<?php $groups = array(1,3,5,6,7,3,3,3,2,7,8); print_r(array_unique($groups),SORT_REGULAR);

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.40.0070.00718.77
8.3.30.0070.00718.79
8.3.20.0000.00820.37
8.3.10.0040.00421.77
8.3.00.0080.00020.94
8.2.170.0140.00018.79
8.2.160.0110.00422.96
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00019.54
8.2.110.0060.00320.28
8.2.100.0040.00818.22
8.2.90.0060.00319.13
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.92
8.2.50.0030.00518.07
8.2.40.0000.00818.22
8.2.30.0060.00318.05
8.2.20.0060.00317.49
8.2.10.0000.00817.93
8.2.00.0000.00717.62
8.1.270.0100.00020.52
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0040.00423.79
8.1.230.0070.00319.04
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0040.00717.23
8.1.190.0050.00317.10
8.1.180.0090.00018.10
8.1.170.0000.00818.52
8.1.160.0000.00721.90
8.1.150.0000.00818.86
8.1.140.0040.00419.09
8.1.130.0000.00717.82
8.1.120.0030.00317.46
8.1.110.0080.00017.30
8.1.100.0000.00717.39
8.1.90.0000.00717.39
8.1.80.0000.00717.36
8.1.70.0000.00717.27
8.1.60.0040.00417.53
8.1.50.0040.00417.30
8.1.40.0000.00917.46
8.1.30.0050.00317.51
8.1.20.0030.00517.54
8.1.10.0080.00017.32
8.1.00.0040.00717.39
8.0.300.0030.00518.77
8.0.290.0000.00716.63
8.0.280.0000.00818.41
8.0.270.0040.00416.81
8.0.260.0030.00317.11
8.0.250.0050.00216.90
8.0.240.0030.00316.82
8.0.230.0000.00716.87
8.0.220.0030.00316.79
8.0.210.0000.00716.86
8.0.200.0040.00416.79
8.0.190.0040.00416.90
8.0.180.0040.00416.88
8.0.170.0000.00816.87
8.0.160.0040.00316.76
8.0.150.0040.00416.76
8.0.140.0000.00716.85
8.0.130.0050.00013.21
8.0.120.0040.00416.75
8.0.110.0040.00416.83
8.0.100.0070.00016.69
8.0.90.0040.00416.87
8.0.80.0110.00816.79
8.0.70.0000.00716.69
8.0.60.0040.00416.83
8.0.50.0070.00016.65
8.0.30.0060.01416.93
8.0.20.0120.00917.40
8.0.10.0040.00417.06
8.0.00.0120.00616.85
7.4.330.0000.00815.03
7.4.320.0030.00316.43
7.4.300.0030.00316.36
7.4.290.0030.00316.45
7.4.280.0080.00316.41
7.4.270.0030.00316.46
7.4.260.0000.00716.45
7.4.250.0030.00316.52
7.4.240.0020.00516.50
7.4.230.0030.00316.51
7.4.220.0120.01216.41
7.4.210.0100.01016.45
7.4.200.0000.00716.29
7.4.160.0090.00616.34
7.4.150.0150.00417.40
7.4.140.0150.00517.86
7.4.130.0090.01016.33
7.4.120.0090.00916.46
7.4.110.0030.02016.18
7.4.100.0060.01216.29
7.4.90.0040.01416.25
7.4.80.0100.00719.39
7.4.70.0000.01916.25
7.4.60.0100.00616.40
7.4.50.0040.00416.11
7.4.40.0060.01216.38
7.4.30.0100.01416.31
7.4.00.0090.00714.79
7.3.330.0050.00012.89
7.3.320.0050.00012.98
7.3.310.0050.00216.18
7.3.300.0070.00016.02
7.3.290.0100.00716.18
7.3.280.0100.00916.15
7.3.270.0140.00417.40
7.3.260.0120.00616.49
7.3.250.0100.01016.15
7.3.240.0130.00316.12
7.3.230.0170.00316.39
7.3.210.0070.01016.32
7.3.200.0060.01219.39
7.3.190.0060.01116.13
7.3.180.0160.00016.27
7.3.170.0100.00716.27
7.3.160.0140.00716.24
7.3.120.0090.00614.68
7.3.110.0000.01614.71
7.3.100.0070.00714.95
7.3.90.0060.00614.39
7.3.80.0040.01114.68
7.3.70.0000.01314.55
7.3.60.0040.00814.73
7.3.50.0080.00814.68
7.3.40.0070.00714.75
7.3.30.0130.00014.55
7.3.20.0030.01316.58
7.3.10.0070.00416.49
7.3.00.0070.00716.62
7.2.330.0030.01516.57
7.2.320.0060.01516.57
7.2.310.0090.00616.21
7.2.300.0090.00616.39
7.2.290.0070.01016.20
7.2.250.0070.01114.75
7.2.240.0070.01314.90
7.2.230.0110.00414.83
7.2.220.0040.00414.79
7.2.210.0060.00315.00
7.2.200.0040.01114.76
7.2.190.0030.01214.48
7.2.180.0040.01114.54
7.2.170.0000.01314.70
7.2.80.0070.00316.54
7.2.60.0070.00716.84
7.2.00.0080.00319.06
7.1.330.0060.00615.73
7.1.320.0000.01215.78
7.1.310.0090.00015.93
7.1.300.0070.01015.79
7.1.290.0030.00615.47
7.1.280.0030.01015.70
7.1.270.0000.00915.80
7.1.260.0050.00515.70
7.1.200.0100.00315.84
7.1.100.0060.00618.10
7.1.70.0000.00916.80
7.1.60.0070.01619.46
7.1.50.0110.01116.70
7.1.00.0070.07322.41
7.0.200.0070.00415.00
7.0.140.0030.03321.95
7.0.60.0030.07719.83
7.0.50.0070.08317.85
7.0.40.0030.05320.11
7.0.30.0200.04020.11
7.0.20.0300.07320.23
7.0.10.0030.05020.09
7.0.00.0070.09020.33
5.6.280.0000.07720.81
5.6.210.0070.08020.49
5.6.200.0100.07718.18
5.6.190.0070.05720.61
5.6.180.0230.04020.77
5.6.170.0300.08020.53
5.6.160.0000.06320.54
5.6.150.0000.04718.21
5.6.140.0030.04318.18
5.6.130.0030.07018.24
5.6.120.0030.09020.99
5.6.110.0170.07720.93
5.6.100.0100.07721.08
5.6.90.0030.06320.87
5.6.80.0000.04320.37
5.6.70.4170.03320.36
5.5.350.0030.03720.49
5.5.340.0000.04317.95
5.5.330.0100.07720.57
5.5.320.0130.09020.34
5.5.310.0270.07020.27
5.5.300.0130.07018.07
5.5.290.0070.08017.98
5.5.280.0030.08020.76
5.5.270.0000.04720.75
5.5.260.0130.07720.75
5.5.250.0200.04720.70
5.5.240.0200.05720.36
5.4.450.0830.06319.57
5.4.440.0870.05019.59
5.4.430.1100.05319.63
5.4.420.0970.07319.61
5.4.410.0870.06319.34
5.4.400.1500.05719.15
5.4.390.0130.05318.59
5.4.380.0170.05718.75
5.4.370.0230.04718.49
5.4.360.0100.06318.76
5.4.350.0330.07018.84
5.4.340.0170.06318.69
5.4.320.0300.04318.62
5.4.310.0130.06018.55
5.4.300.0200.05318.84
5.4.290.0130.05318.58
5.4.280.0130.06018.78
5.4.270.0170.06018.78
5.4.260.0170.06718.83
5.4.250.0300.06018.53
5.4.240.0200.06318.75
5.4.230.0200.06318.76
5.4.220.0130.06318.79
5.4.210.0200.06718.77
5.4.200.1900.06016.61
5.4.190.0270.07318.72
5.4.180.0270.07018.72
5.4.170.0270.06318.73
5.4.160.0170.05718.47
5.4.150.0270.05718.49
5.4.140.0170.05316.28
5.4.130.0130.05316.21
5.4.120.0130.05716.21
5.4.110.0130.05016.21
5.4.100.0200.05016.34
5.4.90.0100.06016.41
5.4.80.0230.05316.41
5.4.70.0200.06016.25
5.4.60.0270.06716.29
5.4.50.2100.05716.16
5.4.40.0270.06316.30
5.4.30.0270.06016.17
5.4.20.0200.05716.21
5.4.10.0270.04316.17
5.4.00.0170.05315.69
5.3.290.0200.06014.88
5.3.280.0070.06014.63
5.3.270.0200.05014.78
5.3.260.0200.05314.73
5.3.250.0130.05714.71
5.3.240.0200.05014.63
5.3.230.0130.06014.60
5.3.220.0170.05714.62
5.3.210.0200.05314.54
5.3.200.0200.05314.70
5.3.190.0230.05014.78
5.3.180.0200.06014.57
5.3.170.0200.05014.61
5.3.160.0130.05714.62
5.3.150.0100.05714.68
5.3.140.0230.04314.65
5.3.130.0230.04714.66
5.3.120.0200.05314.76
5.3.110.0270.05014.59
5.3.100.0200.05014.15
5.3.90.0130.05314.14
5.3.80.0230.05314.19
5.3.70.0370.04014.06
5.3.60.0300.05014.12
5.3.50.0300.05313.93
5.3.40.0270.05313.97
5.3.30.0270.05713.96
5.3.20.0230.05013.72
5.3.10.0300.04013.85
5.3.00.0270.05013.70
5.2.170.0130.04711.36
5.2.160.0170.03711.21
5.2.150.0100.05011.24
5.2.140.0300.03311.11
5.2.130.0170.04011.13
5.2.120.0170.04011.07
5.2.110.0130.04711.15
5.2.100.0030.05311.14
5.2.90.0270.03311.13
5.2.80.0070.05711.10
5.2.70.0200.04011.13
5.2.60.0100.04711.14
5.2.50.0100.04711.23
5.2.40.0070.05011.07
5.2.30.0170.04311.06
5.2.20.0030.05311.02
5.2.10.0270.03710.87
5.2.00.0130.04010.81
5.1.60.0200.0279.99
5.1.50.0100.0339.99
5.1.40.0100.03710.16
5.1.30.0100.04310.43
5.1.20.0170.03310.33
5.1.10.0130.03710.10
5.1.00.0200.02710.16
5.0.50.0130.0238.66
5.0.40.0070.0308.53
5.0.30.0000.0508.34
5.0.20.0000.0378.32
5.0.10.0070.0338.25
5.0.00.0070.0438.23
4.4.90.0000.0275.95
4.4.80.0130.0135.96
4.4.70.0100.0205.91
4.4.60.0030.0305.94
4.4.50.0000.0305.86
4.4.40.0100.0305.90
4.4.30.0070.0205.88
4.4.20.0070.0205.93
4.4.10.0030.0236.00
4.4.00.0070.0336.01
4.3.110.0030.0275.85
4.3.100.0070.0305.83
4.3.90.0030.0235.78
4.3.80.0000.0375.81
4.3.70.0070.0205.79
4.3.60.0000.0275.90
4.3.50.0000.0305.80
4.3.40.0030.0375.89
4.3.30.0070.0205.14
4.3.20.0070.0205.14
4.3.10.0030.0275.14
4.3.00.0270.02314.56

preferences:
47.65 ms | 400 KiB | 5 Q