Is PHP ldap_escape compatible with Microsoft Active Directory?

Here

https://social.technet.microsoft.com/wiki/contents/articles/5312.active-directory-characters-to-escape.aspx

you can see how AD requires to escape individual components of a distinguished name (a backslash in front of the character to be escaped).

The ldap_bind function, however, adopts a different escaping technique (I think according to RFC4514) so for example:

SalesEngineering would be:

Sales\Engineering according to 1

and:

Sales5cEngineering if you use ldap_bind

I know that 5c is just the xx hex sequence for , but can this create problems?

I am having troubles using ldap_bind with domainuser DNs in Active Directory that’s why I am wondering if there are compatibility issues.

Thanks