Re: [Vote] More Appropriate Date/Time Exceptions
| From: | Marco Pivetta | Date: | Thu, 15 Dec 2022 14:36:29 +0000 |
| Subject: | Re: [Vote] More Appropriate Date/Time Exceptions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119148@lists.php.net to get a copy of this message | ||
Hey Derick,
On Thu, 15 Dec 2022 at 15:27, Derick Rethans <derick@php.net> wrote:
> Hi,
>
> I've just opened the vote for "More Appropriate Date/Time Exceptions".
> It runs until December 31st, 24:00 UTC.
>
> You can vote at:
> https://wiki.php.net/rfc/datetime-exceptions#voting
>
> cheers,
> Derick
>
>
Happy to see this move forward, so I voted YES.
In a theoretical patch, I suppose it's possible to refine these types
further then?
https://github.com/php/php-src/blob/b9cd1cdb4f236b7e336b688b16d58a913f4d5c69/ext/date/php_date.stub.php#L363
Would the stub system be capable of documenting exception types?
Greets,
Marco Pivetta
https://twitter.com/Ocramius
https://ocramius.github.io/