[doc-en] master: ext/ldap: Fix ldap_count_entries() return value documentation (#5218)
| From: | Louis-Arnaud via GitHub | Date: | Fri, 03 Jul 2026 11:32:49 +0000 |
| Subject: | [doc-en] master: ext/ldap: Fix ldap_count_entries() return value documentation (#5218) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23435@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-07-03T13:32:46+02:00
Commit: https://github.com/php/doc-en/commit/cf27955fcbad1b75678cd6bb12bfdfa1e2005b63
Raw diff: https://github.com/php/doc-en/commit/cf27955fcbad1b75678cd6bb12bfdfa1e2005b63.diff
ext/ldap: Fix ldap_count_entries() return value documentation (#5218)
* ldap_count_entries(): document -1 return value on error
Changed paths:
M reference/ldap/functions/ldap-count-entries.xml
Diff:
diff --git a/reference/ldap/functions/ldap-count-entries.xml
b/reference/ldap/functions/ldap-count-entries.xml
index b13b260a08e7..7772f86753b5 100644
--- a/reference/ldap/functions/ldap-count-entries.xml
+++ b/reference/ldap/functions/ldap-count-entries.xml
@@ -45,9 +45,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
- <para>
- Returns number of entries in the result,&return.falseforfailure;.
- </para>
+ <simpara>
+ Returns the number of entries in the result, or <literal>-1</literal> on error.
+ </simpara>
</refsect1>
<refsect1 role="changelog">