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