File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ PHP 8.4 UPGRADE NOTES
115
115
2. New Features
116
116
========================================
117
117
118
+ - Date:
119
+ . Added static methods
120
+ DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static.
121
+
118
122
- DOM:
119
123
. Added constant DOMNode::DOCUMENT_POSITION_DISCONNECTED.
120
124
. Added constant DOMNode::DOCUMENT_POSITION_PRECEDING.
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ PHP 8.4 INTERNALS UPGRADE NOTES
58
58
59
59
e. ext/date
60
60
- 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.
61
64
62
65
d. ext/pcre
63
66
- php_pcre_match_impl() now no longer has a use_flags argument.
You can’t perform that action at this time.
0 commit comments