PHP Manual
ctype_punct
(PHP 4 >= 4.0.4, PHP 5)
ctype_punct -- Check for any printable character which is not whitespace or an alphanumeric characterDescription
bool ctype_punct ( string text )
Checks if all of the characters in the provided string,
text, are punctuation character.
Return Values
Returns TRUE if every character in text
is printable, but neither letter, digit or blank, FALSE otherwise.
Examples
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




