Doc #54766 [Opn->Wfx]: Missing default value for last parameter of ldap_search()

From: Date: Tue, 17 May 2011 21:56:18 +0000
Subject: Doc #54766 [Opn->Wfx]: Missing default value for last parameter of ldap_search()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6474@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54766&edit=1 ID: 54766 Updated by: salathe@php.net Reported by: gwarnants at gmail dot com Summary: Missing default value for last parameter of ldap_search() -Status: Open +Status: Wont fix Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: LDAP_DEREF_NEVER is not the default value for the function parameter. If $deref is not specified, the existing LDAP_OPT_DEREF value is used (if set), falling back to the default value for that option which is LDAP_DEREF_NEVER. Previous Comments: ------------------------------------------------------------------------ [2011-05-17 10:20:51] gwarnants at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.ldap-search#Description --- According to parameters description, default value for parameter $deref should be set to constant LDAP_DEREF_NEVER in the prototype. Regards, Geoffray Expected result: ---------------- resource ldap_search ( resource $link_identifier , string $base_dn , string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref = LDAP_DEREF_NEVER ]]]]] ) Actual result: -------------- resource ldap_search ( resource $link_identifier , string $base_dn , string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref ]]]]] ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54766&edit=1

« previous php.doc.bugs (#6474) next »