1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: a9c915c11e5989d8c7cf2d704ada09ca765670c3 */
3
4 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IteratorAggregate_getIterator, 0, 0, Traversable, 0)
5 ZEND_END_ARG_INFO()
6
7 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Iterator_current, 0, 0, IS_MIXED, 0)
8 ZEND_END_ARG_INFO()
9
10 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Iterator_next, 0, 0, IS_VOID, 0)
11 ZEND_END_ARG_INFO()
12
13 #define arginfo_class_Iterator_key arginfo_class_Iterator_current
14
15 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Iterator_valid, 0, 0, _IS_BOOL, 0)
16 ZEND_END_ARG_INFO()
17
18 #define arginfo_class_Iterator_rewind arginfo_class_Iterator_next
19
20 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ArrayAccess_offsetExists, 0, 1, _IS_BOOL, 0)
21 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0)
22 ZEND_END_ARG_INFO()
23
24 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ArrayAccess_offsetGet, 0, 1, IS_MIXED, 0)
25 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0)
26 ZEND_END_ARG_INFO()
27
28 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ArrayAccess_offsetSet, 0, 2, IS_VOID, 0)
29 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0)
30 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
31 ZEND_END_ARG_INFO()
32
33 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ArrayAccess_offsetUnset, 0, 1, IS_VOID, 0)
34 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0)
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Serializable_serialize, 0, 0, 0)
38 ZEND_END_ARG_INFO()
39
40 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Serializable_unserialize, 0, 0, 1)
41 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
42 ZEND_END_ARG_INFO()
43
44 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Countable_count, 0, 0, IS_LONG, 0)
45 ZEND_END_ARG_INFO()
46
47 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Stringable___toString, 0, 0, IS_STRING, 0)
48 ZEND_END_ARG_INFO()
49
50 #define arginfo_class_InternalIterator___construct arginfo_class_Serializable_serialize
51
52 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_InternalIterator_current, 0, 0, IS_MIXED, 0)
53 ZEND_END_ARG_INFO()
54
55 #define arginfo_class_InternalIterator_key arginfo_class_InternalIterator_current
56
57 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_InternalIterator_next, 0, 0, IS_VOID, 0)
58 ZEND_END_ARG_INFO()
59
60 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_InternalIterator_valid, 0, 0, _IS_BOOL, 0)
61 ZEND_END_ARG_INFO()
62
63 #define arginfo_class_InternalIterator_rewind arginfo_class_InternalIterator_next
64
65
66 ZEND_METHOD(InternalIterator, __construct);
67 ZEND_METHOD(InternalIterator, current);
68 ZEND_METHOD(InternalIterator, key);
69 ZEND_METHOD(InternalIterator, next);
70 ZEND_METHOD(InternalIterator, valid);
71 ZEND_METHOD(InternalIterator, rewind);
72
73
74 static const zend_function_entry class_Traversable_methods[] = {
75 ZEND_FE_END
76 };
77
78
79 static const zend_function_entry class_IteratorAggregate_methods[] = {
80 ZEND_ABSTRACT_ME_WITH_FLAGS(IteratorAggregate, getIterator, arginfo_class_IteratorAggregate_getIterator, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
81 ZEND_FE_END
82 };
83
84
85 static const zend_function_entry class_Iterator_methods[] = {
86 ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, current, arginfo_class_Iterator_current, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
87 ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, next, arginfo_class_Iterator_next, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
88 ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, key, arginfo_class_Iterator_key, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
89 ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, valid, arginfo_class_Iterator_valid, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
90 ZEND_ABSTRACT_ME_WITH_FLAGS(Iterator, rewind, arginfo_class_Iterator_rewind, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
91 ZEND_FE_END
92 };
93
94
95 static const zend_function_entry class_ArrayAccess_methods[] = {
96 ZEND_ABSTRACT_ME_WITH_FLAGS(ArrayAccess, offsetExists, arginfo_class_ArrayAccess_offsetExists, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
97 ZEND_ABSTRACT_ME_WITH_FLAGS(ArrayAccess, offsetGet, arginfo_class_ArrayAccess_offsetGet, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
98 ZEND_ABSTRACT_ME_WITH_FLAGS(ArrayAccess, offsetSet, arginfo_class_ArrayAccess_offsetSet, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
99 ZEND_ABSTRACT_ME_WITH_FLAGS(ArrayAccess, offsetUnset, arginfo_class_ArrayAccess_offsetUnset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
100 ZEND_FE_END
101 };
102
103
104 static const zend_function_entry class_Serializable_methods[] = {
105 ZEND_ABSTRACT_ME_WITH_FLAGS(Serializable, serialize, arginfo_class_Serializable_serialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
106 ZEND_ABSTRACT_ME_WITH_FLAGS(Serializable, unserialize, arginfo_class_Serializable_unserialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
107 ZEND_FE_END
108 };
109
110
111 static const zend_function_entry class_Countable_methods[] = {
112 ZEND_ABSTRACT_ME_WITH_FLAGS(Countable, count, arginfo_class_Countable_count, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
113 ZEND_FE_END
114 };
115
116
117 static const zend_function_entry class_Stringable_methods[] = {
118 ZEND_ABSTRACT_ME_WITH_FLAGS(Stringable, __toString, arginfo_class_Stringable___toString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
119 ZEND_FE_END
120 };
121
122
123 static const zend_function_entry class_InternalIterator_methods[] = {
124 ZEND_ME(InternalIterator, __construct, arginfo_class_InternalIterator___construct, ZEND_ACC_PRIVATE)
125 ZEND_ME(InternalIterator, current, arginfo_class_InternalIterator_current, ZEND_ACC_PUBLIC)
126 ZEND_ME(InternalIterator, key, arginfo_class_InternalIterator_key, ZEND_ACC_PUBLIC)
127 ZEND_ME(InternalIterator, next, arginfo_class_InternalIterator_next, ZEND_ACC_PUBLIC)
128 ZEND_ME(InternalIterator, valid, arginfo_class_InternalIterator_valid, ZEND_ACC_PUBLIC)
129 ZEND_ME(InternalIterator, rewind, arginfo_class_InternalIterator_rewind, ZEND_ACC_PUBLIC)
130 ZEND_FE_END
131 };
132
register_class_Traversable(void)133 static zend_class_entry *register_class_Traversable(void)
134 {
135 zend_class_entry ce, *class_entry;
136
137 INIT_CLASS_ENTRY(ce, "Traversable", class_Traversable_methods);
138 class_entry = zend_register_internal_interface(&ce);
139
140 return class_entry;
141 }
142
register_class_IteratorAggregate(zend_class_entry * class_entry_Traversable)143 static zend_class_entry *register_class_IteratorAggregate(zend_class_entry *class_entry_Traversable)
144 {
145 zend_class_entry ce, *class_entry;
146
147 INIT_CLASS_ENTRY(ce, "IteratorAggregate", class_IteratorAggregate_methods);
148 class_entry = zend_register_internal_interface(&ce);
149 zend_class_implements(class_entry, 1, class_entry_Traversable);
150
151 return class_entry;
152 }
153
register_class_Iterator(zend_class_entry * class_entry_Traversable)154 static zend_class_entry *register_class_Iterator(zend_class_entry *class_entry_Traversable)
155 {
156 zend_class_entry ce, *class_entry;
157
158 INIT_CLASS_ENTRY(ce, "Iterator", class_Iterator_methods);
159 class_entry = zend_register_internal_interface(&ce);
160 zend_class_implements(class_entry, 1, class_entry_Traversable);
161
162 return class_entry;
163 }
164
register_class_ArrayAccess(void)165 static zend_class_entry *register_class_ArrayAccess(void)
166 {
167 zend_class_entry ce, *class_entry;
168
169 INIT_CLASS_ENTRY(ce, "ArrayAccess", class_ArrayAccess_methods);
170 class_entry = zend_register_internal_interface(&ce);
171
172 return class_entry;
173 }
174
register_class_Serializable(void)175 static zend_class_entry *register_class_Serializable(void)
176 {
177 zend_class_entry ce, *class_entry;
178
179 INIT_CLASS_ENTRY(ce, "Serializable", class_Serializable_methods);
180 class_entry = zend_register_internal_interface(&ce);
181
182 return class_entry;
183 }
184
register_class_Countable(void)185 static zend_class_entry *register_class_Countable(void)
186 {
187 zend_class_entry ce, *class_entry;
188
189 INIT_CLASS_ENTRY(ce, "Countable", class_Countable_methods);
190 class_entry = zend_register_internal_interface(&ce);
191
192 return class_entry;
193 }
194
register_class_Stringable(void)195 static zend_class_entry *register_class_Stringable(void)
196 {
197 zend_class_entry ce, *class_entry;
198
199 INIT_CLASS_ENTRY(ce, "Stringable", class_Stringable_methods);
200 class_entry = zend_register_internal_interface(&ce);
201
202 return class_entry;
203 }
204
register_class_InternalIterator(zend_class_entry * class_entry_Iterator)205 static zend_class_entry *register_class_InternalIterator(zend_class_entry *class_entry_Iterator)
206 {
207 zend_class_entry ce, *class_entry;
208
209 INIT_CLASS_ENTRY(ce, "InternalIterator", class_InternalIterator_methods);
210 class_entry = zend_register_internal_class_ex(&ce, NULL);
211 class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NOT_SERIALIZABLE;
212 zend_class_implements(class_entry, 1, class_entry_Iterator);
213
214 return class_entry;
215 }
216