History log of /PHP-8.2/ext/standard/tests/class_object/bug78638.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# 663536d7 27-Jul-2021 Máté Kocsis

Improve class inheritance error messages (#7307)


# 72bd5590 06-Feb-2020 Nikita Popov

Improve generated names for anonymous classes

In order of preference, the generated name will be:

new class extends ParentClass {};
// -> ParentClass@anonymous
n

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.

show more ...


# b418f335 24-Dec-2019 Xinchen Hui

Implemented FR #78638 (__PHP_Incomplete_Class should be final)

This should be minor and won't impact anyone