Re: [RFC] Duration class

From: Date: Fri, 17 Jul 2026 13:40:24 +0000
Subject: Re: [RFC] Duration class
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-131994@lists.php.net to get a copy of this message
Hi Holly On 17.07.26 04:41, Holly Schilling wrote:
I don’t want to distract from the core functionality discussed about this, but I’ve been working on something that might be a factor. I have a proposal coming for Value Structs once 8.6 closes. Duration would be a great candidate for being a struct instead of a class. https://gist.github.com/hollyschilling/fc4cfba2596f4326fc0058f34a38d768
Are you aware of my work in this area? https://wiki.php.net/rfc/structs-v2 Ilija

« previous php.internals (#131994) next »