3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Palindrome { public static function isPalindrome($str) { $s = strToLower(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.');

preferences:
54.81 ms | 402 KiB | 5 Q