3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lines = array( 'keud orfd', 'signs %26 loves', 'love\'s and film', 'prosdfsd sdf', 'test', ); $callback = function($line){ return strpbrk($line, '%$@') === false; }; for ($i = 1; $i <= 5000; $i++) { $result = array_filter($lines, $callback); }

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.0040.01918.52
8.3.30.0100.01018.96
8.3.20.0000.00920.26
8.3.10.0090.00021.85
8.3.00.0060.00319.14
8.2.170.0070.01022.96
8.2.160.0100.00720.28
8.2.150.0100.01424.18
8.2.140.0060.00324.66
8.2.130.0130.00326.16
8.2.120.0000.00920.85
8.2.110.0060.00820.22
8.2.100.0000.01417.91
8.2.90.0030.00717.60
8.2.80.0070.00318.78
8.2.70.0000.01017.63
8.2.60.0070.00317.50
8.2.50.0030.00717.63
8.2.40.0040.00720.47
8.2.30.0000.01019.43
8.2.20.0000.01017.74
8.2.10.0060.00318.16
8.2.00.0030.00717.80
8.1.270.0130.00718.95
8.1.260.0030.00626.35
8.1.250.0000.00928.09
8.1.240.0090.00318.89
8.1.230.0070.00722.17
8.1.220.0100.00017.74
8.1.210.0000.01218.77
8.1.200.0070.00417.23
8.1.190.0000.01317.35
8.1.180.0000.01018.10
8.1.170.0060.00318.93
8.1.160.0040.00718.79
8.1.150.0000.01019.03
8.1.140.0030.00717.38
8.1.130.0000.00917.82
8.1.120.0030.00717.46
8.1.110.0070.00417.33
8.1.100.0000.00917.46
8.1.90.0030.00717.45
8.1.80.0070.00317.48
8.1.70.0030.00617.37
8.1.60.0030.00917.62
8.1.50.0080.00417.44
8.1.40.0110.00017.39
8.1.30.0040.00717.63
8.1.20.0030.00717.71
8.1.10.0030.00717.44
8.1.00.0070.00417.40
8.0.300.0030.00718.77
8.0.290.0030.00916.63
8.0.280.0070.00318.36
8.0.270.0030.01017.08
8.0.260.0000.01017.18
8.0.250.0000.00916.80
8.0.240.0040.00716.87
8.0.230.0060.00316.78
8.0.220.0060.00316.80
8.0.210.0030.00716.82
8.0.200.0000.00916.94
8.0.190.0050.00516.89
8.0.180.0080.00416.89
8.0.170.0030.00716.86
8.0.160.0100.00016.98
8.0.150.0080.00316.79
8.0.140.0030.00916.82
8.0.130.0000.00813.34
8.0.120.0030.00716.85
8.0.110.0000.01016.93
8.0.100.0030.00716.88
8.0.90.0060.00316.79
8.0.80.0070.01316.88
8.0.70.0070.00316.98
8.0.60.0050.00516.92
8.0.50.0030.00816.94
8.0.30.0150.01317.05
8.0.20.0110.01517.40
8.0.10.0030.00716.96
8.0.00.0160.01116.67
7.4.330.0040.00415.12
7.4.320.0000.00916.48
7.4.300.0060.00316.63
7.4.290.0030.00616.48
7.4.280.0000.01016.58
7.4.270.0030.00616.43
7.4.260.0030.00716.43
7.4.250.0030.00716.55
7.4.240.0020.00816.49
7.4.230.0000.00916.33
7.4.220.0080.01616.36
7.4.210.0040.01416.52
7.4.200.0000.01016.56
7.4.160.0160.00616.58
7.4.150.0080.01517.40
7.4.140.0120.00917.86
7.4.130.0130.00916.49
7.4.120.0060.01516.46
7.4.110.0120.00916.31
7.4.100.0000.02116.51
7.4.90.0090.01216.56
7.4.80.0040.01919.39
7.4.70.0150.01216.43
7.4.60.0090.01216.38
7.4.50.0000.01116.34
7.4.40.0060.01416.50
7.4.30.0140.01516.61
7.4.00.0090.01514.94
7.3.330.0070.00313.29
7.3.320.0090.00013.26
7.3.310.0030.00616.34
7.3.300.0110.00016.18
7.3.290.0050.01516.28
7.3.280.0130.01216.31
7.3.270.0130.01617.40
7.3.260.0090.01216.24
7.3.250.0100.01316.38
7.3.240.0130.00816.20
7.3.230.0110.00916.74
7.3.210.0140.00716.24
7.3.200.0100.01019.39
7.3.190.0060.02216.59
7.3.180.0120.00616.34
7.3.170.0120.00916.42
7.3.160.0060.01516.25
7.3.120.0080.01614.82
7.3.110.0070.01414.75
7.3.100.0050.01214.86
7.3.90.0060.00814.73
7.3.80.0060.01114.70
7.3.70.0050.01014.82
7.3.60.0090.01114.73
7.3.50.0070.01014.81
7.3.40.0030.01214.77
7.3.30.0060.01214.79
7.3.20.0070.01016.64
7.3.10.0060.00516.67
7.3.00.0090.00916.48
7.2.330.0070.01416.73
7.2.320.0030.01816.55
7.2.310.0100.01016.59
7.2.300.0100.01116.72
7.2.290.0000.02216.55
7.2.250.0060.01615.08
7.2.240.0070.01814.78
7.2.230.0000.02015.09
7.2.220.0070.01015.05
7.2.210.0020.01614.89
7.2.200.0080.01314.86
7.2.190.0000.01914.96
7.2.180.0040.01414.71
7.2.170.0060.00915.06
7.2.80.0030.01016.71
7.2.60.0160.00416.96
7.2.00.0070.01319.52
7.1.330.0050.01715.92
7.1.320.0070.01315.89
7.1.310.0070.01315.68
7.1.300.0030.01615.58
7.1.290.0060.01215.63
7.1.280.0030.01815.85
7.1.270.0050.01815.70
7.1.260.0030.01315.77
7.1.200.0040.01415.81
7.1.100.0100.01318.18
7.1.70.0000.01117.17
7.1.60.0000.03019.57
7.1.50.0140.01717.05
7.1.00.0130.07322.31
7.0.200.0000.01816.53
7.0.140.0070.03321.97
7.0.100.0070.07719.85
7.0.90.0070.08319.84
7.0.80.0070.08319.88
7.0.70.0030.05319.86
7.0.60.0170.07719.91
7.0.50.0100.09020.27
7.0.40.0170.04320.11
7.0.30.0030.05020.04
7.0.20.0100.09020.09
7.0.10.0030.09320.13
7.0.00.0070.07719.90
5.6.280.0130.07720.87
5.6.250.0100.08320.59
5.6.240.0200.08320.59
5.6.230.0030.09720.55
5.6.220.0030.09720.62
5.6.210.0070.07320.63
5.6.200.0100.08720.99
5.6.190.0130.07021.02
5.6.180.0000.10720.98
5.6.170.0100.09321.04
5.6.160.0130.08720.89
5.6.150.0130.09021.00
5.6.140.0070.09720.89
5.6.130.0130.08720.91
5.6.120.0130.09020.92
5.6.110.0000.10721.01
5.6.100.0100.09321.12
5.6.90.0100.09320.89
5.6.80.0030.09720.38
5.6.70.0100.09020.36
5.6.60.0170.08020.29
5.6.50.0130.09020.52
5.6.40.0170.08320.32
5.6.30.0030.07320.36
5.6.20.0100.06320.38
5.6.10.0100.08020.29
5.6.00.0070.09320.33
5.5.380.0070.09020.46
5.5.370.0070.05720.38
5.5.360.0100.09020.30
5.5.350.0070.08720.41
5.5.340.0100.05020.85
5.5.330.0030.10020.79
5.5.320.0070.08320.70
5.5.310.0130.07720.79
5.5.300.0000.09720.81
5.5.290.0030.08020.57
5.5.280.0200.09020.73
5.5.270.0070.05720.84
5.5.260.0100.09320.59
5.5.250.0100.08320.50
5.5.240.0070.08020.18
5.5.230.0070.09320.16
5.5.220.0070.08320.11
5.5.210.0070.08320.22
5.5.200.0130.08720.08
5.5.190.0000.08720.14
5.5.180.0100.08320.21
5.5.160.0070.05320.23
5.5.150.0070.08720.21
5.5.140.0100.08320.07
5.5.130.0030.06320.24
5.5.120.0070.07320.13
5.5.110.0200.07720.06
5.5.100.0130.07019.94
5.5.90.0070.08320.11
5.5.80.0030.08720.02
5.5.70.0030.05720.05
5.5.60.0200.08320.05
5.5.50.0030.08020.02
5.5.40.0030.09020.06
5.5.30.0070.08320.00
5.5.20.0200.05719.89
5.5.10.0170.05319.99
5.5.00.0070.07720.07
5.4.450.0100.09019.51
5.4.440.0100.09019.46
5.4.430.0130.08719.35
5.4.420.0100.08719.37
5.4.410.0100.06019.25
5.4.400.0130.08319.05
5.4.390.0070.09019.05
5.4.380.0100.08719.18
5.4.370.0130.08019.19
5.4.360.0030.09018.90
5.4.350.0100.08719.24
5.4.340.0070.08719.13
5.4.320.0100.08719.14
5.4.310.0170.08319.24
5.4.300.0100.08019.14
5.4.290.0030.08318.90
5.4.280.0100.05019.20
5.4.270.0070.08719.23
5.4.260.0070.09019.09
5.4.250.0100.10019.03
5.4.240.0130.03719.10
5.4.230.0100.07019.03
5.4.220.0130.07319.21
5.4.210.0030.04718.90
5.4.200.0100.08319.04
5.4.190.0230.06319.13
5.4.180.0070.08718.87
5.4.170.0070.08019.12
5.4.160.0030.06319.07
5.4.150.0170.08019.02
5.4.140.0170.08016.49
5.4.130.0030.08316.38
5.4.120.0100.08016.36
5.4.110.0100.07316.49
5.4.100.0170.07016.27
5.4.90.0100.08016.53
5.4.80.0170.05716.42
5.4.70.0070.07016.25
5.4.60.0000.09016.46
5.4.50.0130.07716.32
5.4.40.0070.08716.42
5.4.30.0030.08716.32
5.4.20.0070.04716.41
5.4.10.0030.04716.44
5.4.00.0030.09015.82
5.3.290.0100.09014.78
5.3.280.0070.10714.63
5.3.270.0130.05314.72
5.3.260.0030.05014.71
5.3.250.0000.09014.62
5.3.240.0070.09014.74
5.3.230.0070.09314.62
5.3.220.0070.09714.55
5.3.210.0070.09714.52
5.3.200.0000.06314.71
5.3.190.0070.06314.68
5.3.180.0030.05714.69
5.3.170.0000.09714.68
5.3.160.0070.07014.62
5.3.150.0100.08314.65
5.3.140.0000.09014.54
5.3.130.0170.06314.64
5.3.120.0070.04714.61
5.3.110.0070.04314.61
5.3.100.0070.08714.18
5.3.90.0100.06714.02
5.3.80.0030.05313.93
5.3.70.0100.04314.12
5.3.60.0070.05013.92
5.3.50.0030.05314.07
5.3.40.0070.04314.04
5.3.30.0030.04313.93
5.3.20.0000.04713.79
5.3.10.0000.05013.72
5.3.00.0000.04713.57
5.2.170.0030.03011.18
5.2.160.0030.03311.08
5.2.150.0070.02711.08
5.2.140.0000.03011.14
5.2.130.0000.03311.13
5.2.120.0000.03711.12
5.2.110.0000.03011.17
5.2.100.0030.02711.08
5.2.90.0030.02711.08
5.2.80.0000.03011.08
5.2.70.0000.03011.08
5.2.60.0030.04011.10
5.2.50.0000.02711.09
5.2.40.0030.05011.08
5.2.30.0000.03311.08
5.2.20.0030.03011.08
5.2.10.0030.02711.08
5.2.00.0030.06011.08
5.1.60.0000.03711.08
5.1.50.0030.02311.08
5.1.40.0030.02311.08
5.1.30.0030.02711.08
5.1.20.0030.02311.08
5.1.10.0000.03011.08
5.1.00.0000.02711.08
5.0.50.0000.02311.08
5.0.40.0030.01711.08
5.0.30.0030.02711.08
5.0.20.0070.01311.08
5.0.10.0070.01711.08
5.0.00.0030.05311.08
4.4.90.0030.01711.08
4.4.80.0000.01711.08
4.4.70.0030.01311.08
4.4.60.0030.01311.08
4.4.50.0030.01311.08
4.4.40.0000.03311.08
4.4.30.0000.01711.08
4.4.20.0000.01711.08
4.4.10.0000.01711.08
4.4.00.0000.02311.08
4.3.110.0000.01711.08
4.3.100.0000.01711.08
4.3.90.0030.01311.08
4.3.80.0030.02711.08
4.3.70.0000.01711.08
4.3.60.0030.01011.08
4.3.50.0000.01711.08
4.3.40.0000.02311.08
4.3.30.0000.01311.08
4.3.20.0000.01711.08
4.3.10.0030.01711.08
4.3.00.0000.01711.08

preferences:
60.39 ms | 400 KiB | 5 Q