ctype_punct

  • (PHP 4 >= 4.0.4, PHP 5, PHP 7)
  • Check for any printable character which is not whitespace or an alphanumeric character