Doc #54764 [Opn->Wfx]: Missing default value for last parameter of ldap_list()
| From: | salathe@php.net | Date: | Tue, 17 May 2011 21:46:56 +0000 |
| Subject: | Doc #54764 [Opn->Wfx]: Missing default value for last parameter of ldap_list() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6472@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54764&edit=1
ID: 54764
Updated by: salathe@php.net
Reported by: gwarnants at gmail dot com
Summary: Missing default value for last parameter of
ldap_list()
-Status: Open
+Status: Wont fix
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Revision http://svn.php.net/viewvc/?view=revision&revision=311157
reverts this
change.
The use of the term "default" in the description does not mean the value
which
should go in the function prototype, rather the default setting of the
LDAP_OPT_DEREF option.
Previous Comments:
------------------------------------------------------------------------
[2011-05-17 23:36:48] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=311154
Log: initializer for deref param of ldap_list() (doc #54764)
------------------------------------------------------------------------
[2011-05-17 10:14:29] gwarnants at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ldap-list#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_list ( 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_list ( 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=54764&edit=1