public static function ctype_punct($text)
    {
        $text = self::convert_int_to_char_for_ctype($text);

        return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
    }
public static function ctype_punct($text)
    {
        $text = self::convert_int_to_char_for_ctype($text);

        return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
    }
public static function ctype_punct ( $ text ) { $ text = self :: convert_int_to_char_for_ctype ( $ text ) ; return \ is_string ( $ text ) && '' !== $ text && ! preg_match ( '/[^!-\/\:-@\[-`\{-~]/' , $ text ) ; }
Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.

@see https://php.net/ctype-punct

@param string|int $text

@return bool
Returns TRUE if every character in text is printable but neither letter digit or blank FALSE otherwise .