[DOC-CVS] [doc-en] master: DATE_RFC7231 constant has been deprecated in PHP 8.5
[email protected] (Jawira Portugal via Christian Weiske) Wed, 22 Apr 2026 11:59:50 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Jawira Portugal (jawira)
Committer: Christian Weiske (cweiske)
Date: 2026-04-22T13:59:47+02:00
Commit: https://github.com/php/doc-en/commit/e1e7f1f922033c50c2fd2d33fc5e0512f4e76844
Raw diff: https://github.com/php/doc-en/commit/e1e7f1f922033c50c2fd2d33fc5e0512f4e76844.diff
DATE_RFC7231 constant has been deprecated in PHP 8.5
Changed paths:
M reference/datetime/datetimeinterface.xml
Diff:
diff --git a/reference/datetime/datetimeinterface.xml b/reference/datetime/datetimeinterface.xml
index 6c2cf86295c9..af4d9f94c9d8 100644
--- a/reference/datetime/datetimeinterface.xml
+++ b/reference/datetime/datetimeinterface.xml
@@ -365,6 +365,13 @@
</row>
</thead>
<tbody>
+ <row>
+ <entry>8.5.0</entry>
+ <entry>
+ The <constant>DATE_RFC7231</constant> and
+ <constant>DateTimeInterface::RFC7231</constant> constants have been deprecated.
+ </entry>
+ </row>
<row>
<entry>8.4.0</entry>
<entry>The class constants are now typed.</entry>