From 5d853788932caad81c3ba070904af1db3c061dcf Mon Sep 17 00:00:00 2001 From: Marc Bennewitz Date: Sun, 17 Dec 2023 08:17:11 +0100 Subject: [PATCH] [ci skip] Added UPGRADING entry for GH-12413 Closes GH-12964. --- UPGRADING | 4 ++++ UPGRADING.INTERNALS | 3 +++ 2 files changed, 7 insertions(+) diff --git a/UPGRADING b/UPGRADING index 7d8d00b7647..27504fc5c98 100644 --- a/UPGRADING +++ b/UPGRADING @@ -115,6 +115,10 @@ PHP 8.4 UPGRADE NOTES 2. New Features ======================================== +- Date: + . Added static methods + DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static. + - DOM: . Added constant DOMNode::DOCUMENT_POSITION_DISCONNECTED. . Added constant DOMNode::DOCUMENT_POSITION_PRECEDING. diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index e63e440f5a1..bc959eb5038 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -58,6 +58,9 @@ PHP 8.4 INTERNALS UPGRADE NOTES e. ext/date - Added the php_format_date_ex() API to format instances of php_date_obj. + - Added the php_date_initialize_from_ts_long() and + php_date_initialize_from_ts_double() to initialize a php_date_obj with + the given unix timestamp using GMT +00:00. d. ext/pcre - php_pcre_match_impl() now no longer has a use_flags argument.