ldap_set_rebind_proc

PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
ldap_set_rebind_proc - Set a callback function to do re-binds on referral chasing
Manual

ldap_set_rebind_proc( LDAP\Connection$ldap, callable|null$callback ): bool
Warning:

This function is currently not documented; only its argument list is available.

Changelog

Version Description
8.1.0 The ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
8.0.0 callback is nullable now.