The Daily Commit · Section Edition Front Page PHP AI Dev EN DE FR ES

The Php Times

RFC Watch — Ecosystem

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.

PHP INTERNALS ([RFC]/[VOTE]), July 17, 2026 curated by Sönke

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.

Read the original source ↗

Rate this article: 0

Readers’ Forum

No contributions yet — open the debate.

← Ecosystem — Page B1

"All the Code That's Fit to Ship" · The Daily Commit · Screen edition · Imprint · Privacy Policy