Zend\Ldap\Filter\AbstractFilter::escapeValue
Escapes the given VALUES according to RFC 2254 so that they can be safely used in LDAP filters.
Any control characters with an ACII code < 32 as well as the characters with special meaning in LDAP filters "*", "(", ")", and "\" (the backslash) are converted into the representation of a backslash followed by two hex digits representing the hexadecimal value of the character.
- Author: Benedikt Hallinger <beni@php.net>
Signature
public function escapeValue(array
$values )
Parameters
$values
— array- Array of values to escape
Returns
- array
- Array $values, but escaped