Name
ctype_punct
Synopsis
int ctype_punct(string string
)
Returns true
if every
character in string
is a punctuation
character—that is, the character is printable, but neither
alphabetical, numeric, nor whitespace—or false
otherwise.
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.