@@ -110,7 +110,7 @@ typedef struct _zend_trait_alias {
110110struct _zend_class_entry {
111111 char type ;
112112 zend_string * name ;
113- struct _zend_class_entry * parent ;
113+ zend_class_entry * parent ;
114114 int refcount ;
115115 uint32_t ce_flags ;
116116
@@ -123,19 +123,19 @@ struct _zend_class_entry {
123123 HashTable properties_info ;
124124 HashTable constants_table ;
125125
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 ;
139139
140140 /* allocated only if class implements Iterator or IteratorAggregate interface */
141141 zend_class_iterator_funcs * iterator_funcs_ptr ;
@@ -146,7 +146,7 @@ struct _zend_class_entry {
146146 int (* interface_gets_implemented )(zend_class_entry * iface , zend_class_entry * class_type ); /* a class implements this interface */
147147 };
148148 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 );
150150
151151 /* serializer callbacks */
152152 int (* serialize )(zval * object , unsigned char * * buffer , size_t * buf_len , zend_serialize_data * data );
0 commit comments