New DateTime[Immutable]::createFromTimestamp

From: Date: Sat, 28 Oct 2023 14:07:16 +0000
Subject: New DateTime[Immutable]::createFromTimestamp
Groups: php.internals 
Request: Send a blank email to internals+get-121492@lists.php.net to get a copy of this message
Hi internals, I have opened a small PR to add the following functions at https://github.com/php/php-src/pull/12413 DateTime::createFromTimestamp(int|float$timestamp):static DateTimeImmutable::createFromTimestamp(int|float$timestamp):static date_create_from_timestamp(int|float$timestamp):DateTime date_create_immutable_from_timestamp(int|float$timestamp):DateTimeImmutable I hope this does not require an RFC, but I'm not sure so I'm writing here to get some thoughts. Thanks, Marc

« previous php.internals (#121492) next »