Ctype::ctype_print( string|int $text )

Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.


Description

See also


Parameters

$text

(string|int) (Required)


Return

(bool)


Source

File: vendor/symfony/polyfill-ctype/Ctype.php

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

        return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
    }