Commit 8994d5f3c6f for php.net
commit 8994d5f3c6f63fa697dad352c9f2ca821f145331
Author: Weilin Du <weilindu@php.net>
Date: Fri Sep 4 00:12:27 2026 +0800
[skip ci] UPGRADING: Document ldap_free_result() return type narrowing
Per 4f02d15. Since similar changes to zip_entry_close and
header_register_callback has already been documented,
this also should be documented.
diff --git a/UPGRADING b/UPGRADING
index 5d65ffd0427..a0999d2d7d3 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -658,6 +658,10 @@ PHP 8.6 UPGRADE NOTES
. gmp_powm() modulo-by-zero now raises a DivisionByZeroError whose message
includes the function name and argument index ($modulus).
+- LDAP:
+ . ldap_free_result() return type has been narrowed from bool to true. The
+ function already always returned true.
+
- MySQLi:
. The return structure of mysqli_get_charset() no longer contains the
undocumented "comment" element. The value of "charsetnr" is now set to a