Skip to content

Commit 5d85378

Browse files
marc-mabenielsdos
authored andcommitted
[ci skip] Added UPGRADING entry for GH-12413
Closes GH-12964.
1 parent 61b7370 commit 5d85378

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ PHP 8.4 UPGRADE NOTES
115115
2. New Features
116116
========================================
117117

118+
- Date:
119+
. Added static methods
120+
DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static.
121+
118122
- DOM:
119123
. Added constant DOMNode::DOCUMENT_POSITION_DISCONNECTED.
120124
. Added constant DOMNode::DOCUMENT_POSITION_PRECEDING.

UPGRADING.INTERNALS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ PHP 8.4 INTERNALS UPGRADE NOTES
5858

5959
e. ext/date
6060
- Added the php_format_date_ex() API to format instances of php_date_obj.
61+
- Added the php_date_initialize_from_ts_long() and
62+
php_date_initialize_from_ts_double() to initialize a php_date_obj with
63+
the given unix timestamp using GMT +00:00.
6164

6265
d. ext/pcre
6366
- php_pcre_match_impl() now no longer has a use_flags argument.

0 commit comments

Comments
 (0)