Re: [RFC] Duration class

From: Date: Fri, 03 Jul 2026 22:32:01 +0000
Subject: Re: [RFC] Duration class
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-131749@lists.php.net to get a copy of this message
Hi On 7/3/26 22:48, Marc B. wrote:
Given the small remaining time until the freeze, I'm going to “close out” this thread, but it will definitely serve as a useful reference in the future. Thanks again!
Please don't rush on it - surely the current benefit is not worth it.
The paragraph you are replying to is referring to Paul’s suggestion of allowing negative scalars in the constructors, a limitation that can be lifted in the future without introducing a breaking change. ------ Besides being confident in the basic design of the class, which is much older than the RFC - I first discussed the idea with Derick on PHPDay this year, and had a design lying around for even longer - I also consider the benefit of having a better “Io\Poll” API to be worth trying to hit a deadline. Best regards Tim Düsterhus

« previous php.internals (#131749) next »