public static function escape($value, $ignore = null, $flags = null)
    {
        if (! function_exists('ldap_escape')) {
            // Bail out, can't work our magic!
            trigger_error('ldap_escape() is only available in PHP 5.6 or newer', E_USER_ERROR);
        }

        return ldap_escape($value, $ignore, $flags);
    }