(PHP 4 >= 4.0.4, PHP 5, PHP 7)
Check for any printable character which is not whitespace or an alphanumeric character
bool ctype_punct ( string $text )
Checks if all of the characters in the provided string, text, are punctuation character.
Parameters:
text
The tested string.
Returns:
Returns TRUE if every character in text is printable, but