Skip to content

GH-11964: In ext/date/php_date.stub.php, DateRangeError extends itself #11965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

nielsdos
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!

@nielsdos nielsdos 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