Voting opens on PHP Duration class RFC
Tim Düsterhus has opened the vote for the "Duration class" RFC, which proposes adding a new class to PHP for representing spans of time.
The primary vote requires a two-thirds majority to adopt the proposal; a secondary vote decides whether method names should be abbreviated or full, with the same threshold applying. Voting closes on 31 July 2026 at 17:00 UTC.
The voting phase has begun for the "Duration class" RFC, a proposal to introduce a new class into PHP for representing time spans. Tim Düsterhus announced the vote on the PHP internals mailing list.
The RFC is decided by two votes. The primary vote asks whether to accept the proposal and requires a two-thirds supermajority to pass. The secondary vote concerns method naming: if the option for abbreviated method names reaches a two-thirds majority, those names will be chosen; otherwise, the full names will be used.
Voting closes on 31 July 2026 at 17:00 UTC. The RFC wiki page is available at https://wiki.php.net/rfc/duration_class and the prior discussion thread is at https://news-web.php.net/php.internals/131376.
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 …
·