Re: [PHP-DEV] [RFC] Duration class

[email protected] (Tim Düsterhus) Sun, 19 Jul 2026 14:30:15 +0200
Newsgroups php.internals
Message-ID <[email protected]>
Hi

[clearing the cc list a bit]

On 7/19/26 07:02, Pierre Joye wrote:
> To clarify and settle that discussion for the glory of the archive;
> 
> We were like ships passing in the night for some of my disagreements.
> The RFC wiki page did not show the additional constructor for other
> units, which hence the inconsistency I pointed out for the extra ns
> argument in fromSecond.
> 
> They are here, and reduce this down to a lower level of bad APIs, more
> a pragmatic compromise conciliating different (if not numerous) use
> cases. Anything can be perfect, or shipped. Choose one.

Thank you! Glad we could clear that up.

> I voted yes, ftr.

Thanks! I'm not seeing you in the list for the primary vote, though. 
Note that each vote is a separate <form> element, so you need to submit 
each one individually for it to be counted. I assume you selected the 
option for each and then only pressed the submit button for the last, 
which then would only submit the last vote.

Best regards
Tim Düsterhus