Document SensitiveParameter attributes - part 1#3402
Conversation
|
cc @haszi |
27cd810 to
009bed2
Compare
|
I didn't look thoroughly but both PRs look fine. |
|
I've noticed that while #ifdef HAVE_ORALDAP
function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, #[\SensitiveParameter] string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH): LDAP\Connection|false {}
#ifdef LDAP_API_FEATURE_X_OPENLDAP
function ldap_connect_wallet(?string $uri = null, string $wallet, #[\SensitiveParameter] string $password, int $auth_mode = GSLC_SSL_NO_AUTH): LDAP\Connection|false {}
#endif
#else
function ldap_connect(?string $uri = null, int $port = 389): LDAP\Connection|false {}
#endif |
The So both signatures described in the manual page is correct, albeit the latter one is deprecated. |

No description provided.