- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/RZn4F on line 7
Process exited with code 255.
<?php
class Palindrome
{
public static function isPalindrome($str)
{
str_replace($str, "^[^A-Za-z]", '')
echo $str;
throw new Exception('Not implemented');
}
}
// For testing purposes (do not submit uncommented):
echo Palindrome::isPalindrome('Noel sees Leon.');