@@ -110,7 +110,7 @@ typedef struct _zend_trait_alias {
110
110
struct _zend_class_entry {
111
111
char type ;
112
112
zend_string * name ;
113
- struct _zend_class_entry * parent ;
113
+ zend_class_entry * parent ;
114
114
int refcount ;
115
115
uint32_t ce_flags ;
116
116
@@ -123,19 +123,19 @@ struct _zend_class_entry {
123
123
HashTable properties_info ;
124
124
HashTable constants_table ;
125
125
126
- union _zend_function * constructor ;
127
- union _zend_function * destructor ;
128
- union _zend_function * clone ;
129
- union _zend_function * __get ;
130
- union _zend_function * __set ;
131
- union _zend_function * __unset ;
132
- union _zend_function * __isset ;
133
- union _zend_function * __call ;
134
- union _zend_function * __callstatic ;
135
- union _zend_function * __tostring ;
136
- union _zend_function * __debugInfo ;
137
- union _zend_function * serialize_func ;
138
- union _zend_function * unserialize_func ;
126
+ zend_function * constructor ;
127
+ zend_function * destructor ;
128
+ zend_function * clone ;
129
+ zend_function * __get ;
130
+ zend_function * __set ;
131
+ zend_function * __unset ;
132
+ zend_function * __isset ;
133
+ zend_function * __call ;
134
+ zend_function * __callstatic ;
135
+ zend_function * __tostring ;
136
+ zend_function * __debugInfo ;
137
+ zend_function * serialize_func ;
138
+ zend_function * unserialize_func ;
139
139
140
140
/* allocated only if class implements Iterator or IteratorAggregate interface */
141
141
zend_class_iterator_funcs * iterator_funcs_ptr ;
@@ -146,7 +146,7 @@ struct _zend_class_entry {
146
146
int (* interface_gets_implemented )(zend_class_entry * iface , zend_class_entry * class_type ); /* a class implements this interface */
147
147
};
148
148
zend_object_iterator * (* get_iterator )(zend_class_entry * ce , zval * object , int by_ref );
149
- union _zend_function * (* get_static_method )(zend_class_entry * ce , zend_string * method );
149
+ zend_function * (* get_static_method )(zend_class_entry * ce , zend_string * method );
150
150
151
151
/* serializer callbacks */
152
152
int (* serialize )(zval * object , unsigned char * * buffer , size_t * buf_len , zend_serialize_data * data );
0 commit comments