From 690c7e14a7ed675401bc6d57def20d8d7eb40c23 Mon Sep 17 00:00:00 2001 From: Marc Bennewitz Date: Sun, 17 Dec 2023 08:17:11 +0100 Subject: [PATCH] Added UPGRADING entry for #12413 --- UPGRADING | 3 +++ UPGRADING.INTERNALS | 3 +++ 2 files changed, 6 insertions(+) diff --git a/UPGRADING b/UPGRADING index 7d8d00b76478e..55fbd97ebe144 100644 --- a/UPGRADING +++ b/UPGRADING @@ -115,6 +115,9 @@ PHP 8.4 UPGRADE NOTES 2. New Features ======================================== +- Date: + . Added static method 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 e63e440f5a178..bc959eb5038c2 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.