3v4l.org

run code in 300+ PHP versions simultaneously
<?php $unique = ''; foreach (array_count_values(str_split('abclkjabc')) as $char => $count) { if ($count === 1) { $unique .= $char; } } echo $unique;

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.10.0100.01019.21
8.3.140.0040.00417.30
8.3.130.0120.00318.30
8.3.120.0060.00320.81
8.3.110.0040.00420.94
8.3.100.0090.00016.32
8.3.90.0050.00326.77
8.3.80.0060.00318.15
8.3.70.0070.00716.38
8.3.60.0110.00716.50
8.3.50.0100.00523.60
8.3.40.0040.01120.26
8.3.30.0110.00418.47
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.260.0080.00016.38
8.2.250.0090.00918.91
8.2.240.0000.00816.91
8.2.230.0040.00422.58
8.2.220.0050.00324.06
8.2.210.0110.00726.77
8.2.200.0000.01116.75
8.2.190.0060.00816.58
8.2.180.0150.00025.92
8.2.170.0070.00718.75
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0070.00026.35
8.2.110.0060.00321.18
8.2.100.0030.00917.80
8.2.90.0040.00419.25
8.2.80.0040.00417.97
8.2.70.0050.00517.38
8.2.60.0040.00418.04
8.2.50.0090.00018.07
8.2.40.0040.00419.95
8.2.30.0000.00818.11
8.2.20.0040.00418.14
8.2.10.0040.00419.20
8.2.00.0080.00019.23
8.1.310.0040.00418.32
8.1.300.0060.00319.98
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0030.00523.99
8.1.260.0000.00828.09
8.1.250.0060.00328.09
8.1.240.0090.00022.14
8.1.230.0080.00317.45
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00617.10
8.1.180.0030.00718.10
8.1.170.0000.00818.69
8.1.160.0050.00518.75
8.1.150.0040.00418.75
8.1.140.0040.00418.79
8.1.130.0000.00720.19
8.1.120.0040.00417.46
8.1.110.0050.00217.45
8.1.100.0040.00417.46
8.1.90.0050.00217.43
8.1.80.0000.00717.41
8.1.70.0000.01017.49
8.1.60.0060.00317.51
8.1.50.0060.00317.48
8.1.40.0050.00317.51
8.1.30.0030.00517.64
8.1.20.0040.00417.46
8.1.10.0000.00817.39
8.1.00.0000.00817.45
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0050.00318.34
8.0.270.0030.00317.85
8.0.260.0000.00718.42
8.0.250.0030.00316.84
8.0.240.0070.00016.97
8.0.230.0040.00416.92
8.0.220.0040.00416.89
8.0.210.0040.00416.80
8.0.200.0030.00516.89
8.0.190.0040.00416.96
8.0.180.0000.00816.86
8.0.170.0090.00016.90
8.0.160.0040.00416.85
8.0.150.0050.00316.78
8.0.140.0000.00716.86
8.0.130.0050.00013.31
8.0.120.0000.00716.80
8.0.110.0070.00016.74
8.0.100.0000.00816.91
8.0.90.0000.00716.89
8.0.80.0110.00516.77
8.0.70.0060.00316.82
8.0.60.0000.00716.88
8.0.50.0000.00716.84
8.0.30.0060.01116.74
8.0.20.0080.01117.00
8.0.10.0020.00516.97
8.0.00.0120.00916.71
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0070.00016.50
7.4.290.0000.00716.63
7.4.280.0030.00516.35
7.4.270.0000.00716.49
7.4.260.0050.00013.26
7.4.250.0000.00716.56
7.4.240.0070.00316.63
7.4.230.0000.00816.43
7.4.220.0060.00216.50
7.4.210.0070.00916.64
7.4.200.0000.00816.33
7.4.130.0110.00616.60
7.4.120.0070.01716.40
7.4.110.0100.00716.54
7.4.100.0360.01116.45
7.4.90.0090.01216.36
7.4.80.0160.00416.35
7.4.70.0160.00416.29
7.4.60.0050.01516.34
7.4.50.0090.01516.25
7.4.40.0200.00816.26
7.4.30.0090.01616.23
7.4.20.0300.01116.39
7.4.10.0180.00716.46
7.4.00.0120.01216.43
7.3.330.0080.00016.19
7.3.320.0050.00013.23
7.3.310.0030.00316.20
7.3.300.0030.00316.27
7.3.290.0090.00816.30
7.3.260.0140.00816.52
7.3.230.0140.00316.57
7.3.220.0160.00816.41
7.3.210.0100.01316.49
7.3.200.0030.01816.25
7.3.190.0100.01316.25
7.3.180.0100.01016.19
7.3.170.0120.01216.45
7.3.160.0110.01316.55
7.3.150.0100.01516.41
7.3.140.0120.01116.39
7.3.130.0130.00916.44
7.3.120.0110.01316.14
7.3.110.0110.01616.30
7.3.100.0130.01316.13
7.3.90.0100.01316.40
7.3.80.0200.00916.39
7.3.70.0120.00916.46
7.3.60.0040.02016.34
7.3.50.0120.00916.21
7.3.40.0110.01116.26
7.3.30.0180.00416.23
7.3.20.0090.01516.40
7.3.10.0090.01116.17
7.3.00.0140.00716.42
7.2.330.0140.00616.42
7.2.320.0020.01816.64
7.2.310.0100.01416.65
7.2.300.0180.01116.43
7.2.290.0150.01116.57
7.2.280.0180.00616.33
7.2.270.0140.01016.45
7.2.260.0080.01316.36
7.2.250.0170.01116.29
7.2.240.0150.01216.45
7.2.230.0150.01516.39
7.2.220.0070.01416.57
7.2.210.0090.01516.65
7.2.200.0100.01316.31
7.2.190.0080.01616.56
7.2.180.0170.00616.56
7.2.170.0240.00816.52
7.2.160.0170.01116.32
7.2.150.0160.01216.18
7.2.140.0100.01016.59
7.2.130.0030.01716.74
7.2.120.0080.01216.59
7.2.110.0110.01116.72
7.2.100.0060.01516.62
7.2.90.0200.00916.58
7.2.80.0190.01116.72
7.2.70.0220.01316.59
7.2.60.0250.00816.44
7.2.50.0240.01716.54
7.2.40.0240.01816.52
7.2.30.0260.01116.57
7.2.20.0120.01416.61
7.2.10.0160.01216.52
7.2.00.0190.00816.68

preferences:
15.92 ms | 403 KiB | 5 Q