diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-06 11:13:13 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-17 12:21:33 +0100 |
commit | 72bd55902d1908857f47555ad69458861e1acd94 (patch) | |
tree | 3e54bf617776657ae9a7ae9a8b357798dfab2cb0 /ext/intl/tests/calendar_toDateTime_error.phpt | |
parent | 43443857b74503246ee4ca25859b302ed0ebc078 (diff) | |
download | php-git-72bd55902d1908857f47555ad69458861e1acd94.tar.gz |
Improve generated names for anonymous classes
In order of preference, the generated name will be:
new class extends ParentClass {};
// -> ParentClass@anonymous
new class implements FirstInterface, SecondInterface {};
// -> FirstInterface@anonymous
new class {};
// -> class@anonymous
This is intended to display a more useful class name in error messages
and stack traces, and thus make debugging easier.
Closes GH-5153.
Diffstat (limited to 'ext/intl/tests/calendar_toDateTime_error.phpt')
0 files changed, 0 insertions, 0 deletions