mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Export visibility for promoted property (8.3)
This commit is contained in:
parent
8a649a8343
commit
160a4a65ad
2 changed files with 3 additions and 0 deletions
2
NEWS
2
NEWS
|
@ -6,6 +6,8 @@ PHP NEWS
|
||||||
. Fixed bug GH-17106 (ZEND_MATCH_ERROR misoptimization). (ilutov)
|
. Fixed bug GH-17106 (ZEND_MATCH_ERROR misoptimization). (ilutov)
|
||||||
. Fixed bug GH-17162 (zend_array_try_init() with dtor can cause engine UAF).
|
. Fixed bug GH-17162 (zend_array_try_init() with dtor can cause engine UAF).
|
||||||
(nielsdos)
|
(nielsdos)
|
||||||
|
. Fixed bug GH-17101 (AST->string does not reproduce constructor property
|
||||||
|
promotion correctly). (nielsdos)
|
||||||
|
|
||||||
- DBA:
|
- DBA:
|
||||||
. Skip test if inifile is disabled. (orlitzky)
|
. Skip test if inifile is disabled. (orlitzky)
|
||||||
|
|
|
@ -2443,6 +2443,7 @@ simple_list:
|
||||||
if (ast->child[3]) {
|
if (ast->child[3]) {
|
||||||
zend_ast_export_attributes(str, ast->child[3], indent, 0);
|
zend_ast_export_attributes(str, ast->child[3], indent, 0);
|
||||||
}
|
}
|
||||||
|
zend_ast_export_visibility(str, ast->attr);
|
||||||
if (ast->child[0]) {
|
if (ast->child[0]) {
|
||||||
zend_ast_export_type(str, ast->child[0], indent);
|
zend_ast_export_type(str, ast->child[0], indent);
|
||||||
smart_str_appendc(str, ' ');
|
smart_str_appendc(str, ' ');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue