\Symfony\Polyfill\Php56Php56

Summary

Methods
Properties
Constants
hash_equals()
ldap_escape()
No public properties found
LDAP_ESCAPE_FILTER
LDAP_ESCAPE_DN
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

LDAP_ESCAPE_FILTER

LDAP_ESCAPE_FILTER = 1

LDAP_ESCAPE_DN

LDAP_ESCAPE_DN = 2

Methods

hash_equals()

hash_equals(  $knownString,   $userInput) 

Parameters

$knownString
$userInput

ldap_escape()

ldap_escape(string  $subject, string  $ignore = '', integer  $flags) : string

Stub implementation of the {@link ldap_escape()} function of the ldap extension.

Escape strings for safe use in LDAP filters and DNs.

Parameters

string $subject
string $ignore
integer $flags

Returns

string