3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Palindrome { public static function isPalindrome($str) { $s = toLower(preg_replace('/[^A-Za-z]/', '', $str)); echo $s; throw new Exception('Not implemented'); } } // For testing purposes (do not submit uncommented): echo Palindrome::isPalindrome('Noel sees Leon.');

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.70.0150.00318.06
8.3.60.0120.00616.50
8.3.50.0130.01021.99
8.3.40.0100.01018.66
8.3.30.0070.00718.75
8.3.20.0040.00420.07
8.3.10.0040.00423.66
8.3.00.0040.00419.79
8.2.190.0100.01016.63
8.2.180.0150.00316.75
8.2.170.0140.00722.96
8.2.160.0030.01020.52
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00320.85
8.2.120.0050.00326.35
8.2.110.0000.00820.29
8.2.100.0060.00617.90
8.2.90.0030.00619.10
8.2.80.0030.00517.97
8.2.70.0040.00417.38
8.2.60.0060.00317.80
8.2.50.0000.00818.07
8.2.40.0060.00319.28
8.2.30.0080.00020.62
8.2.20.0030.00617.75
8.2.10.0070.00017.88
8.2.00.0000.00718.02
8.1.280.0110.00725.92
8.1.270.0090.00022.04
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0000.00823.79
8.1.230.0100.00619.10
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00917.13
8.1.190.0050.00217.60
8.1.180.0000.00718.10
8.1.170.0000.00818.46
8.1.160.0000.00720.60
8.1.150.0000.00718.77
8.1.140.0080.00019.34
8.1.130.0000.00717.50
8.1.120.0070.00017.31
8.1.110.0030.00517.29
8.1.100.0040.00417.33
8.1.90.0000.00817.33
8.1.80.0000.00717.25
8.1.70.0000.00717.34
8.1.60.0040.00417.55
8.1.50.0080.00017.37
8.1.40.0030.00517.33
8.1.30.0000.00917.49
8.1.20.0000.00917.58
8.1.10.0030.00517.42
8.1.00.0050.00217.52
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.39
8.0.270.0000.00717.26
8.0.260.0060.00017.26
8.0.250.0030.00316.86
8.0.240.0030.00317.00
8.0.230.0030.00316.86
8.0.220.0000.00716.88
8.0.210.0070.00016.88
8.0.200.0080.00016.89
8.0.190.0040.00417.00
8.0.180.0050.00216.97
8.0.170.0040.00416.82
8.0.160.0030.00316.93
8.0.150.0040.00416.73
8.0.140.0020.00516.74
8.0.130.0080.00013.34
8.0.120.0080.00016.86
8.0.110.0000.00816.79
8.0.100.0040.00416.96
8.0.90.0030.00516.92
8.0.80.0030.01216.81
8.0.70.0040.00416.82
8.0.60.0030.00516.86
8.0.50.0070.00016.90
8.0.30.0130.00616.95
8.0.20.0130.01117.40
8.0.10.0000.00716.85
8.0.00.0130.00416.81
7.4.330.0000.00516.83
7.4.320.0040.00416.29
7.4.300.0000.00716.49
7.4.290.0070.00016.44
7.4.280.0060.00316.54
7.4.270.0030.00316.59
7.4.260.0000.00716.52
7.4.250.0040.00416.48
7.4.240.0020.00616.46
7.4.230.0000.00716.44
7.4.220.0090.01016.36
7.4.210.0120.00316.51
7.4.200.0030.00316.63
7.4.160.0120.00416.54
7.4.150.0100.01017.40
7.4.140.0080.01617.86
7.4.130.0110.00616.50
7.4.120.0110.00816.42
7.4.110.0060.01116.29
7.4.100.0080.01116.53
7.4.90.0030.01316.45
7.4.80.0070.01019.39
7.4.70.0060.01616.55
7.4.60.0060.00916.37
7.4.50.0040.01416.36
7.4.40.0060.01016.52
7.4.30.0100.00616.60
7.4.00.0120.00314.89
7.3.330.0000.00513.16
7.3.320.0060.00013.36
7.3.310.0040.00416.35
7.3.300.0000.00616.35
7.3.290.0080.00916.36
7.3.280.0090.00916.36
7.3.270.0110.00617.40
7.3.260.0060.01016.32
7.3.250.0070.01216.39
7.3.240.0080.00916.49
7.3.230.0060.01216.49
7.3.210.0060.00916.42
7.3.200.0030.01316.27
7.3.190.0070.01316.32
7.3.180.0100.01016.26
7.3.170.0100.00716.34
7.3.160.0130.01016.52
7.3.10.0100.00616.40
7.3.00.0060.00816.46
7.2.330.0150.00616.41
7.2.320.0040.01516.32
7.2.310.0150.00716.26
7.2.300.0070.01016.45
7.2.290.0090.00916.66
7.2.130.0100.00716.64
7.2.120.0050.01016.55
7.2.110.0080.01016.69
7.2.100.0100.00816.84
7.2.90.0140.00416.56
7.2.80.0110.00716.42
7.2.70.0080.00716.48
7.2.60.0110.00816.62
7.2.50.0070.00916.72
7.2.40.0100.00816.54
7.2.30.0080.00916.47
7.2.20.0110.00716.38
7.2.10.0100.00816.61
7.2.00.0060.01017.56
7.1.250.0080.01015.26
7.1.200.0080.00415.40
7.1.70.0040.00416.90
7.1.60.0040.00717.07
7.1.50.0150.00716.85
7.1.00.0000.07322.44
7.0.200.0030.01216.77
7.0.60.0100.04019.88
7.0.50.0000.05017.94
7.0.40.0000.08719.96
7.0.30.0200.07720.23
7.0.20.0270.06320.24
7.0.10.0100.08720.08
7.0.00.0030.06020.07
5.6.280.0000.03321.08
5.6.210.0100.07720.70
5.6.200.0130.06318.14
5.6.190.0030.04320.44
5.6.180.0470.07320.34
5.6.170.0200.04320.48
5.6.160.0030.04020.46
5.6.150.0100.08018.28
5.6.140.0170.06718.22
5.6.130.0030.04318.16
5.6.120.0070.04020.98
5.6.110.0130.08321.07
5.6.100.0030.04321.08
5.6.90.0100.06720.97
5.6.80.0100.06720.48
5.5.350.4170.04320.42
5.5.340.0070.04717.95
5.5.330.0070.04020.35
5.5.320.0000.04720.36
5.5.310.0370.07720.25
5.5.300.0130.06017.98
5.5.290.0070.06318.02
5.5.280.0030.04720.77
5.5.270.0170.07720.76
5.5.260.0200.07020.97
5.5.250.0100.08020.58
5.5.240.0200.06320.34

preferences:
58.46 ms | 401 KiB | 5 Q