Lines Matching refs:scope
39 uint32_t zend_attribute_attribute_get_flags(zend_attribute *attr, zend_class_entry *scope) in zend_attribute_attribute_get_flags() argument
45 if (FAILURE == zend_get_attribute_value(&flags, attr, 0, scope)) { in zend_attribute_attribute_get_flags()
72 zend_attribute *attr, uint32_t target, zend_class_entry *scope) in validate_allow_dynamic_properties() argument
74 if (scope->ce_flags & ZEND_ACC_TRAIT) { in validate_allow_dynamic_properties()
76 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties()
79 if (scope->ce_flags & ZEND_ACC_INTERFACE) { in validate_allow_dynamic_properties()
81 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties()
84 if (scope->ce_flags & ZEND_ACC_READONLY_CLASS) { in validate_allow_dynamic_properties()
86 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties()
89 if (scope->ce_flags & ZEND_ACC_ENUM) { in validate_allow_dynamic_properties()
91 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties()
94 scope->ce_flags |= ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES; in validate_allow_dynamic_properties()
246 …sult zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_class_entry *scope) in zend_get_attribute_value() argument
255 if (SUCCESS != zval_update_constant_ex(ret, scope)) { in zend_get_attribute_value()
264 …ss_entry *attribute_ce, zend_attribute *attribute_data, zend_class_entry *scope, zend_string *file… in zend_get_attribute_object() argument
314 if (FAILURE == zend_get_attribute_value(&val, attribute_data, i, scope)) { in zend_get_attribute_object()