3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo count( array_intersect( array_count_values( str_split('abclkjabc'), ), [1] ) );

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.0130.00319.40
8.3.140.0030.00617.08
8.3.130.0080.00018.58
8.3.120.0110.01119.01
8.3.110.0120.00420.94
8.3.100.0040.00716.61
8.3.90.0150.00426.77
8.3.80.0090.00016.50
8.3.70.0060.01016.58
8.3.60.0080.00818.31
8.3.50.0070.00923.74
8.3.40.0030.01220.27
8.3.30.0030.01418.54
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.260.0030.00616.68
8.2.250.0040.01116.44
8.2.240.0080.00416.95
8.2.230.0110.00722.58
8.2.220.0080.00024.06
8.2.210.0160.00426.77
8.2.200.0030.00616.50
8.2.190.0120.00316.58
8.2.180.0110.00325.92
8.2.170.0120.00922.96
8.2.160.0130.00022.96
8.2.150.0080.00025.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0000.00726.35
8.2.110.0060.00320.56
8.2.100.0040.00817.72
8.2.90.0050.00317.75
8.2.80.0040.00418.36
8.2.70.0030.00617.63
8.2.60.0060.00317.90
8.2.50.0080.00018.07
8.2.40.0080.00019.82
8.2.30.0040.00417.95
8.2.20.0050.00317.89
8.2.10.0040.00419.08
8.2.00.0070.00019.28
8.1.310.0080.00018.18
8.1.300.0090.00619.89
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0000.00920.84
8.1.230.0060.00617.57
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0000.00717.23
8.1.180.0080.00018.10
8.1.170.0040.00418.65
8.1.160.0050.00218.73
8.1.150.0000.00718.44
8.1.140.0000.00818.76
8.1.130.0030.00320.12
8.1.120.0040.00417.34
8.1.110.0000.00917.30
8.1.100.0050.00317.42
8.1.90.0070.00017.23
8.1.80.0030.00417.42
8.1.70.0000.00817.46
8.1.60.0040.00417.52
8.1.50.0000.00717.33
8.1.40.0070.00017.46
8.1.30.0000.00817.57
8.1.20.0040.00417.57
8.1.10.0040.00417.46
8.1.00.0030.00617.37
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0000.00920.27
8.0.270.0070.00019.75
8.0.260.0030.00318.37
8.0.250.0070.00016.86
8.0.240.0070.00016.89
8.0.230.0060.00016.71
8.0.220.0030.00316.73
8.0.210.0070.00016.66
8.0.200.0040.00416.84
8.0.190.0040.00416.74
8.0.180.0050.00216.84
8.0.170.0080.00016.82
8.0.160.0070.00016.68
8.0.150.0000.00816.74
8.0.140.0040.00416.80
8.0.130.0000.00513.24
8.0.120.0050.00216.81
8.0.110.0000.00716.70
8.0.100.0000.00816.80
8.0.90.0070.00016.88
8.0.80.0100.00716.78
8.0.70.0090.00016.79
8.0.60.0000.00816.65
8.0.50.0000.00816.79
8.0.30.0160.00817.02
8.0.20.0100.01016.96
8.0.10.0000.00716.98
8.0.00.0140.00716.68
7.4.330.0050.00015.55
7.4.320.0060.00016.36
7.4.300.0000.00616.34
7.4.290.0040.00416.50
7.4.280.0030.00516.46
7.4.270.0030.00316.51
7.4.260.0000.00513.19
7.4.250.0030.00316.43
7.4.240.0040.00416.43
7.4.230.0040.00416.28
7.4.220.0030.00316.44
7.4.210.0070.00716.47
7.4.200.0000.00716.32
7.4.130.0110.01016.38
7.4.120.0110.00616.69
7.4.110.0110.00616.39
7.4.100.0110.01116.37
7.4.90.0000.01916.50
7.4.80.0120.00616.54
7.4.70.0070.01616.32
7.4.60.0090.01216.29
7.4.50.0070.01916.09
7.4.40.0060.01316.09
7.4.30.0050.01416.13
7.4.20.0120.01216.34
7.4.10.0070.01716.38
7.4.00.0150.00916.59
7.3.330.0050.00216.04
7.3.320.0060.00013.10
7.3.310.0000.00616.02
7.3.300.0000.00616.17
7.3.290.0110.00316.21
7.3.260.0130.00316.45
7.3.230.0100.00716.19
7.3.220.0100.01316.49
7.3.210.0090.00916.31
7.3.200.0030.01516.54
7.3.190.0040.01416.10
7.3.180.0110.01416.20
7.3.170.0100.01016.31
7.3.160.0120.00916.23
7.3.150.0110.00716.57
7.3.140.0030.02016.29
7.3.130.0070.01415.90
7.3.120.0150.00916.09
7.3.110.0090.01516.44
7.3.100.0100.01316.01
7.3.90.0090.01516.11
7.3.80.0070.01616.04
7.3.70.0070.01716.32
7.3.60.0100.01316.37
7.3.50.0030.01816.12
7.3.40.0090.01016.16
7.3.30.0210.00016.30
7.3.20.0110.01116.28
7.3.10.0190.00016.07
7.3.00.0140.00416.21
7.2.330.0200.00616.46
7.2.320.0100.01016.04
7.2.310.0120.01216.02
7.2.300.0050.01716.21
7.2.290.0090.00916.57
7.2.280.0110.01416.00
7.2.270.0120.01216.18
7.2.260.0120.01216.37
7.2.250.0030.02116.25
7.2.240.0150.00916.24
7.2.230.0070.01716.32
7.2.220.0040.01516.08
7.2.210.0140.01016.39
7.2.200.0100.01316.13
7.2.190.0130.01016.38
7.2.180.0030.01716.29
7.2.170.0060.01616.25
7.2.160.0180.00416.12
7.2.150.0090.01416.06
7.2.140.0340.01416.22
7.2.130.0090.00916.34
7.2.120.0150.00416.43
7.2.110.0030.01416.41
7.2.100.0070.01116.45
7.2.90.0070.01016.16
7.2.80.0090.00916.27
7.2.70.0140.00416.34
7.2.60.0130.00616.31
7.2.50.0080.01216.46
7.2.40.0040.01416.44
7.2.30.0110.00716.44
7.2.20.0060.01216.31
7.2.10.0140.00716.32
7.2.00.0180.00016.35

preferences:
28.61 ms | 403 KiB | 5 Q