Skip to content

Commit 690c7e1

Browse files
committed
Added UPGRADING entry for php#12413
1 parent d8268f1 commit 690c7e1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

UPGRADING

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

118+
- Date:
119+
. Added static method DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static
120+
118121
- DOM:
119122
. Added constant DOMNode::DOCUMENT_POSITION_DISCONNECTED.
120123
. 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)