[doc-en] master: Document missing PHP 8.4 constants (ldap, openssl) (#5333)
| From: | Louis-Arnaud via GitHub | Date: | Wed, 10 Jun 2026 20:06:24 +0000 |
| Subject: | [doc-en] master: Document missing PHP 8.4 constants (ldap, openssl) (#5333) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23376@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-06-10T22:06:21+02:00
Commit: https://github.com/php/doc-en/commit/5b3a84935252a553528cb81b3dacb88647b57c7b
Raw diff: https://github.com/php/doc-en/commit/5b3a84935252a553528cb81b3dacb88647b57c7b.diff
Document missing PHP 8.4 constants (ldap, openssl) (#5333)
* Document missing PHP 8.4 constants (ldap TLS protocol, openssl X509 purpose)
* ldap: list LDAP_OPT_X_TLS_PROTOCOL_MAX in get/set option tables
Changed paths:
M reference/ldap/constants.xml
M reference/ldap/functions/ldap-get-option.xml
M reference/ldap/functions/ldap-set-option.xml
M reference/openssl/constants.xml
Diff:
diff --git a/reference/ldap/constants.xml b/reference/ldap/constants.xml
index d6a51735449f..2115593612b0 100644
--- a/reference/ldap/constants.xml
+++ b/reference/ldap/constants.xml
@@ -384,7 +384,7 @@
</term>
<listitem>
<simpara>
- Specifies the maximum protocol version.
+ Specifies the maximum protocol version. This can be one of:
<constant>LDAP_OPT_X_TLS_PROTOCOL_SSL2</constant>,
<constant>LDAP_OPT_X_TLS_PROTOCOL_SSL3</constant>,
<constant>LDAP_OPT_X_TLS_PROTOCOL_TLS1_0</constant>,
<constant>LDAP_OPT_X_TLS_PROTOCOL_TLS1_1</constant>,
<constant>LDAP_OPT_X_TLS_PROTOCOL_TLS1_2</constant>,
<constant>LDAP_OPT_X_TLS_PROTOCOL_TLS1_3</constant>.
Available as of PHP 8.4.0.
</simpara>
</listitem>
diff --git a/reference/ldap/functions/ldap-get-option.xml
b/reference/ldap/functions/ldap-get-option.xml
index 70714de75f9c..591a59f8a739 100644
--- a/reference/ldap/functions/ldap-get-option.xml
+++ b/reference/ldap/functions/ldap-get-option.xml
@@ -198,6 +198,11 @@
<entry><type>int</type></entry>
<entry>7.1</entry>
</row>
+ <row>
+ <entry><constant>LDAP_OPT_X_TLS_PROTOCOL_MAX</constant></entry>
+ <entry><type>int</type></entry>
+ <entry>8.4</entry>
+ </row>
<row>
<entry><constant>LDAP_OPT_X_TLS_RANDOM_FILE</constant></entry>
<entry><type>string</type></entry>
diff --git a/reference/ldap/functions/ldap-set-option.xml
b/reference/ldap/functions/ldap-set-option.xml
index 4743318a8976..0c1dd9bfee42 100644
--- a/reference/ldap/functions/ldap-set-option.xml
+++ b/reference/ldap/functions/ldap-set-option.xml
@@ -178,6 +178,11 @@
<entry><type>int</type></entry>
<entry>PHP 7.1.0</entry>
</row>
+ <row>
+ <entry><constant>LDAP_OPT_X_TLS_PROTOCOL_MAX</constant></entry>
+ <entry><type>int</type></entry>
+ <entry>PHP 8.4.0</entry>
+ </row>
<row>
<entry><constant>LDAP_OPT_X_TLS_RANDOM_FILE</constant></entry>
<entry><type>string</type></entry>
diff --git a/reference/openssl/constants.xml b/reference/openssl/constants.xml
index b9dcb11b4a36..ab467bda9d61 100644
--- a/reference/openssl/constants.xml
+++ b/reference/openssl/constants.xml
@@ -90,6 +90,7 @@
</term>
<listitem>
<simpara>
+ Verify the certificate for use as an OCSP responder helper.
Available as of PHP 8.4.0.
</simpara>
</listitem>
@@ -101,6 +102,7 @@
</term>
<listitem>
<simpara>
+ Verify the certificate for use as a trusted time stamp signer.
Available as of PHP 8.4.0.
</simpara>
</listitem>