3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['4149','8397','9652','4378','3199','7999','8431','5349','7068']; var_export(preg_grep('/(.).*\1/', $array, PREG_GREP_INVERT));

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.130.0140.00717.67
8.4.120.0120.00720.84
8.4.110.0120.00718.66
8.4.100.0120.00917.63
8.4.90.0110.00920.82
8.4.80.0050.01218.96
8.4.70.0100.00818.05
8.4.60.0110.00818.63
8.4.50.0140.00618.60
8.4.40.0140.00717.68
8.4.30.0050.00318.82
8.4.20.0070.01318.94
8.4.10.0060.00319.47
8.3.250.0110.00518.67
8.3.240.0130.00716.62
8.3.230.0050.00718.30
8.3.220.0070.01018.86
8.3.210.0140.00718.64
8.3.200.0040.00516.58
8.3.190.0130.00717.00
8.3.180.0050.00416.71
8.3.170.0070.01120.85
8.3.160.0000.00818.32
8.3.150.0090.00916.55
8.3.140.0090.00316.91
8.3.130.0090.00018.43
8.3.120.0080.00020.62
8.3.110.0090.00016.91
8.3.100.0090.00616.68
8.3.90.0080.01126.77
8.3.80.0090.00018.30
8.3.70.0090.01218.15
8.3.60.0150.00018.28
8.3.50.0070.01416.62
8.3.40.0110.00420.42
8.3.30.0140.00320.17
8.3.20.0050.00324.18
8.3.10.0060.00324.66
8.3.00.0070.01420.67
8.2.290.0080.00416.98
8.2.280.0090.00518.41
8.2.270.0070.01118.91
8.2.260.0080.00019.99
8.2.250.0040.00416.56
8.2.240.0100.00718.48
8.2.230.0080.00020.94
8.2.220.0000.00824.06
8.2.210.0070.00726.77
8.2.200.0000.00916.61
8.2.190.0170.00316.76
8.2.180.0100.01016.75
8.2.170.0150.00018.95
8.2.160.0140.00022.96
8.2.150.0080.00025.66
8.2.140.0050.00324.66
8.2.130.0140.00721.06
8.2.120.0160.00321.02
8.2.110.0150.00320.83
8.2.100.0000.01520.82
8.2.90.0110.00620.68
8.2.80.0030.01320.57
8.2.70.0150.00020.74
8.2.60.0150.00020.79
8.2.50.0080.00020.61
8.2.40.0060.00320.80
8.2.30.0000.00820.73
8.2.20.0040.00420.55
8.2.10.0040.00420.56
8.2.00.0040.00420.55
8.1.330.0100.00916.34
8.1.320.0110.00816.36
8.1.310.0110.00718.46
8.1.300.0030.01318.18
8.1.290.0060.00330.84
8.1.280.0030.01725.92
8.1.270.0030.00621.96
8.1.260.0140.00423.78
8.1.250.0100.01023.76
8.1.240.0000.00820.45
8.1.230.0080.00020.39
8.1.220.0130.00720.40
8.1.210.0050.00320.38
8.1.200.0030.00520.34
8.1.190.0080.00020.42
8.1.180.0100.00720.34
8.1.170.0130.00320.26
8.1.160.0040.00420.40
8.1.150.0060.00320.39
8.1.140.0030.00520.27
8.1.130.0000.00920.44
8.1.120.0030.00520.39
8.1.110.0120.00320.34
8.1.100.0060.00320.46
8.1.90.0120.00320.36
8.1.80.0030.00520.51
8.1.70.0060.00320.38
8.1.60.0090.00620.45
8.1.50.0030.00620.41
8.1.40.0070.01020.54
8.1.30.0130.00320.64
8.1.20.0090.00620.48
8.1.10.0030.00620.52
8.1.00.0000.00820.22

preferences:
19.58 ms | 403 KiB | 5 Q