Re: [RFC] Time\Instant and Time\Clock

From: Date: Mon, 02 Nov 2026 18:32:43 +0000
Subject: Re: [RFC] Time\Instant and Time\Clock
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-132991@lists.php.net to get a copy of this message
Hi On 2026-10-07 12:04, Tim Düsterhus wrote:
We have now made the SystemClock a singleton with a SystemClock::get() factory / getter. The constructor is private now.
Something I forgot doing then, but I did now: SystemClock is now marked as @not-serializable, because well, it is not supposed to be serialized as a singleton. Best regards Tim Dsüterhus

« previous php.internals (#132991) next »