php / 8.1.5 / function.ldap-set-rebind-proc.html /

ldap_set_rebind_proc

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

ldap_set_rebind_procSet a callback function to do re-binds on referral chasing

Description

ldap_set_rebind_proc(LDAP\Connection $ldap, ?callable $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.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.ldap-set-rebind-proc.php