php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_attributes.c File Reference
#include "zend.h"
#include "zend_API.h"
#include "zend_attributes.h"
#include "zend_attributes_arginfo.h"
#include "zend_exceptions.h"
#include "zend_smart_str.h"

Go to the source code of this file.

Functions

uint32_t zend_attribute_attribute_get_flags (zend_attribute *attr, zend_class_entry *scope)
 
 ZEND_METHOD (Attribute, __construct)
 
 ZEND_METHOD (ReturnTypeWillChange, __construct)
 
 ZEND_METHOD (AllowDynamicProperties, __construct)
 
 ZEND_METHOD (SensitiveParameter, __construct)
 
 ZEND_METHOD (SensitiveParameterValue, __construct)
 
 ZEND_METHOD (SensitiveParameterValue, getValue)
 
 ZEND_METHOD (SensitiveParameterValue, __debugInfo)
 
 ZEND_METHOD (Override, __construct)
 
 ZEND_METHOD (Deprecated, __construct)
 
ZEND_API zend_attributezend_get_attribute (HashTable *attributes, zend_string *lcname)
 
ZEND_API zend_attributezend_get_attribute_str (HashTable *attributes, const char *str, size_t len)
 
ZEND_API zend_attributezend_get_parameter_attribute (HashTable *attributes, zend_string *lcname, uint32_t offset)
 
ZEND_API zend_attributezend_get_parameter_attribute_str (HashTable *attributes, const char *str, size_t len, uint32_t offset)
 
ZEND_API zend_result zend_get_attribute_value (zval *ret, zend_attribute *attr, uint32_t i, zend_class_entry *scope)
 
ZEND_API zend_result zend_get_attribute_object (zval *obj, zend_class_entry *attribute_ce, zend_attribute *attribute_data, zend_class_entry *scope, zend_string *filename)
 
ZEND_API zend_stringzend_get_attribute_target_names (uint32_t flags)
 
ZEND_API bool zend_is_attribute_repeated (HashTable *attributes, zend_attribute *attr)
 
ZEND_API zend_attributezend_add_attribute (HashTable **attributes, zend_string *name, uint32_t argc, uint32_t flags, uint32_t offset, uint32_t lineno)
 
ZEND_API zend_internal_attributezend_mark_internal_attribute (zend_class_entry *ce)
 
ZEND_API zend_internal_attributezend_internal_attribute_register (zend_class_entry *ce, uint32_t flags)
 
ZEND_API zend_internal_attributezend_internal_attribute_get (zend_string *lcname)
 
void zend_register_attribute_ce (void)
 
void zend_attributes_shutdown (void)
 

Variables

ZEND_API zend_class_entryzend_ce_attribute
 
ZEND_API zend_class_entryzend_ce_return_type_will_change_attribute
 
ZEND_API zend_class_entryzend_ce_allow_dynamic_properties
 
ZEND_API zend_class_entryzend_ce_sensitive_parameter
 
ZEND_API zend_class_entryzend_ce_sensitive_parameter_value
 
ZEND_API zend_class_entryzend_ce_override
 
ZEND_API zend_class_entryzend_ce_deprecated
 

Function Documentation

◆ zend_add_attribute()

ZEND_API zend_attribute * zend_add_attribute ( HashTable ** attributes,
zend_string * name,
uint32_t argc,
uint32_t flags,
uint32_t offset,
uint32_t lineno )

Definition at line 414 of file zend_attributes.c.

◆ zend_attribute_attribute_get_flags()

uint32_t zend_attribute_attribute_get_flags ( zend_attribute * attr,
zend_class_entry * scope )

Definition at line 39 of file zend_attributes.c.

◆ zend_attributes_shutdown()

void zend_attributes_shutdown ( void )

Definition at line 525 of file zend_attributes.c.

◆ zend_get_attribute()

ZEND_API zend_attribute * zend_get_attribute ( HashTable * attributes,
zend_string * lcname )

Definition at line 226 of file zend_attributes.c.

◆ zend_get_attribute_object()

ZEND_API zend_result zend_get_attribute_object ( zval * obj,
zend_class_entry * attribute_ce,
zend_attribute * attribute_data,
zend_class_entry * scope,
zend_string * filename )

Definition at line 264 of file zend_attributes.c.

◆ zend_get_attribute_str()

ZEND_API zend_attribute * zend_get_attribute_str ( HashTable * attributes,
const char * str,
size_t len )

Definition at line 231 of file zend_attributes.c.

◆ zend_get_attribute_target_names()

ZEND_API zend_string * zend_get_attribute_target_names ( uint32_t flags)

Definition at line 360 of file zend_attributes.c.

◆ zend_get_attribute_value()

ZEND_API zend_result zend_get_attribute_value ( zval * ret,
zend_attribute * attr,
uint32_t i,
zend_class_entry * scope )

Definition at line 246 of file zend_attributes.c.

◆ zend_get_parameter_attribute()

ZEND_API zend_attribute * zend_get_parameter_attribute ( HashTable * attributes,
zend_string * lcname,
uint32_t offset )

Definition at line 236 of file zend_attributes.c.

◆ zend_get_parameter_attribute_str()

ZEND_API zend_attribute * zend_get_parameter_attribute_str ( HashTable * attributes,
const char * str,
size_t len,
uint32_t offset )

Definition at line 241 of file zend_attributes.c.

◆ zend_internal_attribute_get()

ZEND_API zend_internal_attribute * zend_internal_attribute_get ( zend_string * lcname)

Definition at line 487 of file zend_attributes.c.

◆ zend_internal_attribute_register()

ZEND_API zend_internal_attribute * zend_internal_attribute_register ( zend_class_entry * ce,
uint32_t flags )

Definition at line 479 of file zend_attributes.c.

◆ zend_is_attribute_repeated()

ZEND_API bool zend_is_attribute_repeated ( HashTable * attributes,
zend_attribute * attr )

Definition at line 377 of file zend_attributes.c.

◆ zend_mark_internal_attribute()

ZEND_API zend_internal_attribute * zend_mark_internal_attribute ( zend_class_entry * ce)

Definition at line 452 of file zend_attributes.c.

◆ ZEND_METHOD() [1/9]

ZEND_METHOD ( AllowDynamicProperties ,
__construct  )

Definition at line 114 of file zend_attributes.c.

◆ ZEND_METHOD() [2/9]

ZEND_METHOD ( Attribute ,
__construct  )

Definition at line 97 of file zend_attributes.c.

◆ ZEND_METHOD() [3/9]

ZEND_METHOD ( Deprecated ,
__construct  )

Definition at line 159 of file zend_attributes.c.

◆ ZEND_METHOD() [4/9]

ZEND_METHOD ( Override ,
__construct  )

Definition at line 154 of file zend_attributes.c.

◆ ZEND_METHOD() [5/9]

ZEND_METHOD ( ReturnTypeWillChange ,
__construct  )

Definition at line 109 of file zend_attributes.c.

◆ ZEND_METHOD() [6/9]

ZEND_METHOD ( SensitiveParameter ,
__construct  )

Definition at line 119 of file zend_attributes.c.

◆ ZEND_METHOD() [7/9]

ZEND_METHOD ( SensitiveParameterValue ,
__construct  )

Definition at line 124 of file zend_attributes.c.

◆ ZEND_METHOD() [8/9]

ZEND_METHOD ( SensitiveParameterValue ,
__debugInfo  )

Definition at line 142 of file zend_attributes.c.

◆ ZEND_METHOD() [9/9]

ZEND_METHOD ( SensitiveParameterValue ,
getValue  )

Definition at line 135 of file zend_attributes.c.

◆ zend_register_attribute_ce()

void zend_register_attribute_ce ( void )

Definition at line 492 of file zend_attributes.c.

Variable Documentation

◆ zend_ce_allow_dynamic_properties

ZEND_API zend_class_entry* zend_ce_allow_dynamic_properties

Definition at line 29 of file zend_attributes.c.

◆ zend_ce_attribute

ZEND_API zend_class_entry* zend_ce_attribute

Definition at line 27 of file zend_attributes.c.

◆ zend_ce_deprecated

ZEND_API zend_class_entry* zend_ce_deprecated

Definition at line 33 of file zend_attributes.c.

◆ zend_ce_override

ZEND_API zend_class_entry* zend_ce_override

Definition at line 32 of file zend_attributes.c.

◆ zend_ce_return_type_will_change_attribute

ZEND_API zend_class_entry* zend_ce_return_type_will_change_attribute

Definition at line 28 of file zend_attributes.c.

◆ zend_ce_sensitive_parameter

ZEND_API zend_class_entry* zend_ce_sensitive_parameter

Definition at line 30 of file zend_attributes.c.

◆ zend_ce_sensitive_parameter_value

ZEND_API zend_class_entry* zend_ce_sensitive_parameter_value

Definition at line 31 of file zend_attributes.c.