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

From: Date: Tue, 22 Sep 2026 19:31:30 +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-132597@lists.php.net to get a copy of this message
On 2026-09-22 19:51, Seifeddine Gmati wrote:
I agree that wall-clock time will be used more often, but I’m not convinced that Instant is necessarily simpler or clearer than SystemTime. Arguably, the latter communicates more directly that the value comes from the system clock and is subject to clock adjustments. That said, let’s see what Derick and others think about the naming.
Hi! Is this not an argument FOR Instant instead of against it? SystemTime sounds more like something that would belong in that `Clock namespace while Instant represents a point in time that might well be far before or after the existence of the system itself. It does not advertise any relation to the system or wall clock. It could be the time of the big bang. Naming it SystemTime wouldn't make any sense. BR, Juris

« previous php.internals (#132597) next »