3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tt[] = "aa"; $tt[] = "aa"; $tt[] = "aa"; $tt[] = "bb"; $tt[] = "bb"; $tt[] = "bb"; $tt[] = "bb"; array_unique($tt);

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.0180.00318.43
8.3.50.0070.00717.95
8.3.40.0000.01518.85
8.3.30.0160.00018.64
8.3.20.0020.00520.16
8.3.10.0040.00423.66
8.3.00.0000.00819.26
8.2.180.0100.00718.04
8.2.170.0080.00622.96
8.2.160.0100.00720.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00022.03
8.2.120.0000.00826.35
8.2.110.0030.00619.16
8.2.100.0050.01017.66
8.2.90.0000.00819.23
8.2.80.0070.00019.34
8.2.70.0000.00817.63
8.2.60.0030.00517.80
8.2.50.0130.00018.10
8.2.40.0060.00320.42
8.2.30.0050.00319.18
8.2.20.0040.00417.87
8.2.10.0070.00017.88
8.2.00.0000.00718.04
8.1.280.0100.00725.92
8.1.270.0070.00022.10
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0030.00722.31
8.1.230.0060.00617.73
8.1.220.0070.00317.74
8.1.210.0050.00318.77
8.1.200.0070.00317.23
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0020.00518.53
8.1.160.0030.00318.87
8.1.150.0040.00418.81
8.1.140.0050.00317.69
8.1.130.0000.00718.95
8.1.120.0000.00717.33
8.1.110.0000.00717.31
8.1.100.0000.00717.43
8.1.90.0080.00017.44
8.1.80.0000.01017.45
8.1.70.0000.00717.43
8.1.60.0040.00417.54
8.1.50.0000.00917.46
8.1.40.0020.00517.39
8.1.30.0000.00817.47
8.1.20.0030.00617.60
8.1.10.0000.00717.43
8.1.00.0040.00417.27
8.0.300.0060.00318.77
8.0.290.0000.00916.63
8.0.280.0030.00318.38
8.0.270.0070.00017.08
8.0.260.0000.00618.38
8.0.250.0050.00216.91
8.0.240.0030.00316.84
8.0.230.0070.00016.89
8.0.220.0000.00816.84
8.0.210.0030.00316.83
8.0.200.0000.00616.88
8.0.190.0000.00816.82
8.0.180.0040.00416.86
8.0.170.0030.00616.85
8.0.160.0030.00616.87
8.0.150.0040.00416.85
8.0.140.0040.00416.78
8.0.130.0030.00313.30
8.0.120.0000.00716.79
8.0.110.0070.00016.80
8.0.100.0030.00316.88
8.0.90.0040.00416.90
8.0.80.0090.01216.89
8.0.70.0040.00416.76
8.0.60.0000.00716.94
8.0.50.0040.00416.72
8.0.30.0070.01016.97
8.0.20.0110.00817.40
8.0.10.0000.00716.86
8.0.00.0100.00816.72
7.4.330.0050.00015.55
7.4.320.0070.00016.52
7.4.300.0030.00316.38
7.4.290.0070.00016.37
7.4.280.0000.00816.48
7.4.270.0000.00716.52
7.4.260.0000.00816.46
7.4.250.0070.00016.34
7.4.240.0030.00316.51
7.4.230.0030.00316.46
7.4.220.0080.00016.55
7.4.210.0120.00316.58
7.4.200.0030.00316.36
7.4.160.0110.00816.29
7.4.150.0090.01217.40
7.4.140.0120.00817.86
7.4.130.0150.00316.53
7.4.120.0150.00516.39
7.4.110.0130.00316.29
7.4.100.0000.01716.29
7.4.90.0120.00616.48
7.4.80.0110.00719.39
7.4.70.0120.00916.34
7.4.60.0160.00016.39
7.4.50.0030.01016.38
7.4.40.0070.01416.41
7.4.00.0050.01014.80
7.3.330.0050.00013.14
7.3.320.0070.00013.14
7.3.310.0030.00316.26
7.3.300.0030.00316.16
7.3.290.0100.00616.20
7.3.280.0050.01216.19
7.3.270.0100.00717.40
7.3.260.0090.00816.21
7.3.250.0110.00716.19
7.3.240.0080.01116.33
7.3.230.0070.01016.46
7.3.210.0060.01016.37
7.3.200.0130.00316.40
7.3.190.0070.01016.23
7.3.180.0030.01716.36
7.3.170.0060.00916.59
7.3.160.0090.00616.30
7.3.120.0100.00314.86
7.3.110.0100.00714.68
7.3.100.0000.01714.28
7.3.90.0000.01314.62
7.3.80.0090.00314.64
7.3.70.0030.00914.75
7.3.60.0040.01514.52
7.3.50.0100.00714.51
7.3.40.0000.01514.76
7.3.30.0070.00714.72
7.3.20.0040.00716.38
7.3.10.0040.00916.53
7.3.00.0070.00716.47
7.2.330.0070.01316.41
7.2.320.0140.00316.26
7.2.310.0100.00616.48
7.2.300.0140.00916.38
7.2.290.0060.00916.27
7.2.250.0070.01114.81
7.2.240.0070.00714.66
7.2.230.0040.01214.95
7.2.220.0120.00314.89
7.2.210.0060.00614.70
7.2.200.0060.00914.96
7.2.190.0070.00714.69
7.2.180.0090.00614.45
7.2.170.0000.01715.00
7.2.160.0090.00614.74
7.2.150.0070.00316.68
7.2.140.0040.00716.29
7.2.130.0060.00916.67
7.2.120.0050.00716.68
7.2.110.0050.01016.56
7.2.100.0090.00516.47
7.2.90.0050.00716.69
7.2.80.0060.00616.78
7.2.70.0050.00616.71
7.2.60.0080.00616.75
7.2.50.0050.01116.74
7.2.40.0080.00916.60
7.2.30.0070.00716.59
7.2.20.0100.00216.73
7.2.10.0080.01216.97
7.2.00.0060.01117.01
7.1.330.0070.01015.64
7.1.320.0130.00015.42
7.1.310.0110.00015.76
7.1.300.0090.00915.67
7.1.290.0040.01515.35
7.1.280.0070.00715.62
7.1.270.0030.01415.84
7.1.260.0070.00715.72
7.1.250.0040.00815.77
7.1.240.0130.00015.39
7.1.230.0060.00615.79
7.1.220.0000.01315.69
7.1.210.0030.01315.54
7.1.200.0020.00715.65
7.1.190.0070.00715.70
7.1.180.0060.00815.63
7.1.170.0060.00315.79
7.1.160.0060.00615.83
7.1.150.0070.00715.70
7.1.140.0060.00615.58
7.1.130.0110.00816.04
7.1.120.0120.00616.09
7.1.110.0150.00315.80
7.1.100.0130.00415.62
7.1.90.0090.00815.91
7.1.80.0130.00315.84
7.1.70.0110.00615.37
7.1.60.0180.01124.34
7.1.50.0140.00824.35
7.1.40.0150.01324.19
7.1.30.0160.00924.12
7.1.20.0090.01124.13
7.1.10.0330.00815.12
7.1.00.0070.01115.22
7.0.330.0090.00615.27
7.0.320.0070.00315.30
7.0.310.0080.00015.04
7.0.300.0060.00615.54
7.0.290.0030.00915.02
7.0.280.0120.00315.22
7.0.270.0060.00915.25
7.0.260.0090.00615.33
7.0.250.0040.00715.31
7.0.240.0070.00715.04
7.0.230.0030.00915.59
7.0.220.0000.01315.44
7.0.210.0090.00315.50
7.0.200.0000.01415.34
7.0.190.0040.00415.57
7.0.180.0030.00715.12
7.0.170.0030.00715.33
7.0.160.0070.00315.30
7.0.150.0080.00015.44
7.0.140.0070.00415.50
7.0.130.0060.00615.49
7.0.120.0070.00715.53
7.0.110.0080.00415.50
7.0.100.0100.00315.42
7.0.90.0030.00515.09
7.0.80.0040.01115.21
7.0.70.0090.00315.12
7.0.60.0040.00815.38
7.0.50.0030.01015.22
7.0.40.0070.01013.38
7.0.30.0040.00413.57
7.0.20.0060.00613.40
7.0.10.0110.00413.26
7.0.00.0030.00913.54
5.6.400.0070.00714.45
5.6.390.0030.01014.31
5.6.380.0000.00914.24
5.6.370.0090.00614.39
5.6.360.0090.00613.73
5.6.350.0070.00714.40
5.6.340.0100.00714.47
5.6.330.0050.00814.46
5.6.320.0060.00614.37
5.6.310.0000.01014.02
5.6.300.0000.01114.34
5.6.290.0000.01514.38
5.6.280.0000.01313.89
5.6.270.0030.00714.07
5.6.260.0030.01014.33
5.6.250.0100.00614.31
5.6.240.0030.01014.42
5.6.230.0000.01514.14
5.6.220.0000.00914.25
5.6.210.0030.00914.07
5.6.200.0060.01314.14
5.6.190.0100.01013.92
5.6.180.0090.00314.07
5.6.170.0090.00614.44
5.6.160.0060.00814.09
5.6.150.0090.00314.09
5.6.140.0030.00613.99
5.6.130.0070.00714.13
5.6.120.0070.00714.52
5.6.110.0030.00814.14
5.6.100.0040.01214.24
5.6.90.0070.00714.02
5.6.80.0000.01513.97
5.6.70.0030.01014.15
5.6.60.0030.01413.98
5.6.50.0080.00313.91
5.6.40.0060.01214.02
5.6.30.0030.00614.12
5.6.20.0040.00414.00
5.6.10.0070.00713.95
5.6.00.0030.01014.07

preferences:
60.55 ms | 404 KiB | 6 Q