@@ -7896,7 +7896,7 @@ static bool zend_property_hook_uses_property(const zend_string *property_name, c
78967896 return context .uses_property ;
78977897}
78987898
7899- static bool zend_property_is_virtual (const zend_class_entry * ce , const zend_string * property_name , zend_ast * hooks_ast , uint32_t flags )
7899+ static bool zend_property_is_virtual (const zend_class_entry * ce , const zend_string * property_name , zend_ast * hooks_ast )
79007900{
79017901 if (ce -> ce_flags & ZEND_ACC_INTERFACE ) {
79027902 return true;
@@ -8172,7 +8172,7 @@ static void zend_compile_params(zend_ast *ast, zend_ast *return_type_ast, uint32
81728172 doc_comment_ast ? zend_string_copy (zend_ast_get_str (doc_comment_ast )) : NULL ;
81738173 zend_property_info * prop = zend_declare_typed_property (
81748174 scope , name , & default_value ,
8175- property_flags | (zend_property_is_virtual (scope , name , hooks_ast , property_flags ) ? ZEND_ACC_VIRTUAL : 0 ) | ZEND_ACC_PROMOTED ,
8175+ property_flags | (zend_property_is_virtual (scope , name , hooks_ast ) ? ZEND_ACC_VIRTUAL : 0 ) | ZEND_ACC_PROMOTED ,
81768176 doc_comment , type );
81778177 if (hooks_ast ) {
81788178 const zend_ast_list * hooks = zend_ast_get_list (hooks_ast );
@@ -9074,7 +9074,7 @@ static void zend_compile_prop_decl(zend_ast *ast, zend_ast *type_ast, uint32_t f
90749074 zend_string * doc_comment = NULL ;
90759075 zval value_zv ;
90769076 zend_type type = ZEND_TYPE_INIT_NONE (0 );
9077- flags |= zend_property_is_virtual (ce , name , hooks_ast , flags ) ? ZEND_ACC_VIRTUAL : 0 ;
9077+ flags |= zend_property_is_virtual (ce , name , hooks_ast ) ? ZEND_ACC_VIRTUAL : 0 ;
90789078
90799079 zend_string * old_active_property_info_name = CG (context ).active_property_info_name ;
90809080 CG (context ).active_property_info_name = name ;
0 commit comments