mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Use unmangled named in property type inheritance error
This commit is contained in:
commit
33e39f088a
2 changed files with 12 additions and 1 deletions
|
@ -976,7 +976,7 @@ static void emit_incompatible_property_error(
|
|||
zend_error_noreturn(E_COMPILE_ERROR,
|
||||
"Type of %s::$%s must be %s (as in class %s)",
|
||||
ZSTR_VAL(child->ce->name),
|
||||
ZSTR_VAL(child->name),
|
||||
zend_get_unmangled_property_name(child->name),
|
||||
ZSTR_VAL(type_str),
|
||||
ZSTR_VAL(parent->ce->name));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue