LdapTools\Utilities\LdapUtilities::isBinary PHP Метод

isBinary() публичный статический Метод

Check if a string contains non-printable, and likely binary, data. There is no easy way to do this, as there can really only be a best effort attempt to detect it.
public static isBinary ( string $value ) : boolean
$value string
Результат boolean
    public static function isBinary($value)
    {
        return !preg_match('//u', $value);
    }