[DOC-CVS] [doc-en] master: Document warning emitted by openssl_x509_read (#5494)

[email protected] (Jawira Portugal via GitHub) Sun, 3 May 2026 20:29:38 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Jawira Portugal (jawira)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-03T22:29:35+02:00

Commit: https://github.com/php/doc-en/commit/47881dcf54038053a6aa70d901e61c14e2c01a06
Raw diff: https://github.com/php/doc-en/commit/47881dcf54038053a6aa70d901e61c14e2c01a06.diff

Document warning emitted by openssl_x509_read (#5494)

* Document warning emitted by openssl_x509_read

* Update reference/openssl/functions/openssl-x509-read.xml

`simpara` is more appropriate for simple paragraphs

Co-authored-by: Louis-Arnaud <[email protected]>

Changed paths:
  M  reference/openssl/functions/openssl-x509-read.xml


Diff:

diff --git a/reference/openssl/functions/openssl-x509-read.xml b/reference/openssl/functions/openssl-x509-read.xml
index b43b4d6f3a21..9fe2459e1d73 100644
--- a/reference/openssl/functions/openssl-x509-read.xml
+++ b/reference/openssl/functions/openssl-x509-read.xml
@@ -43,6 +43,13 @@
   </para>
  </refsect1>
 
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <simpara>
+   An <constant>E_WARNING</constant> is emitted if the X.509 certificate cannot be retrieved.
+  </simpara>
+ </refsect1>
+
  <refsect1 role="changelog">
   &reftitle.changelog;
   <informaltable>