RFC: Duration class
An RFC is open for discussion and vote on the PHP internals list proposing a new Duration class.
PHP INTERNALS ([RFC]/[VOTE]), July 8, 2026
curated by Georg
The proposal draws inspiration from Java, Rust and Temporal while defining requirements based on PHP-specific constraints and practical experience with date and time handling.
Readers’ Forum
No contributions yet — open the debate.
Open the discussion
No account or password needed — just enter your e-mail and we’ll send you a one-time sign-in link. First time here? You’re set up automatically.
Your rating will be applied automatically after you sign in.
Check your inbox
We’ve sent a sign-in link to …. Open it on this device — this tab will sign you in automatically.
Waiting for your click …
·