Skip to content

Conversation

@ndossche
Copy link
Member

According to the RFC[1] it's supposed to extend DateError.

[1] https://wiki.php.net/rfc/datetime-exceptions

Closes GH-11964

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks consistent with

date_ce_date_range_error = register_class_DateRangeError(date_ce_date_error);

Thanks!

@ndossche ndossche merged commit 17b3af2 into php:master Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In ext/date/php_date.stub.php , DateRangeError extends itself

2 participants