php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54420 missing documentation for ldap function ldap_parse_result
Submitted: 2011-03-29 22:57 UTC Modified: 2014-06-02 21:41 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: gries at gries dot tv Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gries at gries dot tv
New email:
PHP Version: OS:

 

 [2011-03-29 22:57 UTC] gries at gries dot tv
Description:
------------
---
From manual page: http://www.php.net/function.ldap-parse-result
---

There is no documentation for this function yet.
Here is what I found out by looking through the phps source code:


# Description: Parse an LDAP search result.

# Parameters: 
 * resource $link - An LDAP link identifier, returned by ldap_connect(). 
 * resource $result - An LDAP result identifier, returned by ldap_search() or ldap_list
 * int &errcode - Will be filled with the LDAP errorcode from the result, default = (int)0
 * string &matcheddn - If the server recognizes a part of a name in a request the matcheddn parameters will be filled with that string otherwhise its NULL.
 * string &errmsg - Will be filled with LDAP errormsg from the result, default = empty string
 * string &referals - will contain all referals strings found in the result, default = empty array

# Return Values
On Success returns TRUE, otherwise throws a warning and returns FALSE


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-02 21:40 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=333701
Log: Hack together some basic documentation for ldap_parse_result().

Fixes doc bug #54420 (missing documentation for ldap function
ldap_parse_result).
 [2014-06-02 21:41 UTC] aharvey@php.net
-Status: Open +Status: Closed -Package: LDAP related +Package: Documentation problem -Assigned To: +Assigned To: aharvey
 [2014-06-02 21:41 UTC] aharvey@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 00:01:31 2025 UTC