Re: [PHP-DEV] Re: [RFC] IntlRelativeDateTimeFormatter
[email protected] (Tim Düsterhus)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
Hi On 2026-09-07 19:19, Weilin Du wrote: > I am posting this as an "intent to vote" email to announce that > the voting process of this RFC will be opened at 15 Sept if no > further opinions/objections emerge. Similarly to the PREG_THROW_ON_ERROR one, I didn't yet get around to this one after my vacation. I've given it a very quick read, but not much thought. One point for now: The RFC specifies that the given ICU UNumberFormat is cloned internally. Does that mean if I pass in a NumberFormatter instance and later reconfigure using `->setAttribute()`, the changes will not be applied to IntlRelativeDateTimeFormatter? I believe this would be very unexpected behavior. Best regards Tim Düsterhus