LdapTools\Utilities\LdapUtilities::isBinary PHP Méthode

isBinary() public static méthode

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
Résultat boolean
    public static function isBinary($value)
    {
        return !preg_match('//u', $value);
    }