Re: [PHP-DEV] [RFC] Duration class
[email protected] (Holly Schilling) Fri, 17 Jul 2026 02:41:17 +0000
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
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