/src/php-src/Zend/zend_builtin_functions_arginfo.h
Line | Count | Source |
1 | | /* This is a generated file, edit the .stub.php file instead. |
2 | | * Stub hash: a24761186f1ddf758e648b0a764826537cbd33b9 */ |
3 | | |
4 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_exit, 0, 0, IS_NEVER, 0) |
5 | | ZEND_ARG_TYPE_MASK(0, status, MAY_BE_STRING|MAY_BE_LONG, "0") |
6 | | ZEND_END_ARG_INFO() |
7 | | |
8 | | #define arginfo_die arginfo_exit |
9 | | |
10 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0) |
11 | | ZEND_END_ARG_INFO() |
12 | | |
13 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_num_args, 0, 0, IS_LONG, 0) |
14 | | ZEND_END_ARG_INFO() |
15 | | |
16 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_get_arg, 0, 1, IS_MIXED, 0) |
17 | | ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0) |
18 | | ZEND_END_ARG_INFO() |
19 | | |
20 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_get_args, 0, 0, IS_ARRAY, 0) |
21 | | ZEND_END_ARG_INFO() |
22 | | |
23 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strlen, 0, 1, IS_LONG, 0) |
24 | | ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0) |
25 | | ZEND_END_ARG_INFO() |
26 | | |
27 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strcmp, 0, 2, IS_LONG, 0) |
28 | | ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0) |
29 | | ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0) |
30 | | ZEND_END_ARG_INFO() |
31 | | |
32 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strncmp, 0, 3, IS_LONG, 0) |
33 | | ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0) |
34 | | ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0) |
35 | | ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0) |
36 | | ZEND_END_ARG_INFO() |
37 | | |
38 | | #define arginfo_strcasecmp arginfo_strcmp |
39 | | |
40 | | #define arginfo_strncasecmp arginfo_strncmp |
41 | | |
42 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_error_reporting, 0, 0, IS_LONG, 0) |
43 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, error_level, IS_LONG, 1, "null") |
44 | | ZEND_END_ARG_INFO() |
45 | | |
46 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_define, 0, 2, _IS_BOOL, 0) |
47 | | ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0) |
48 | | ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) |
49 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, case_insensitive, _IS_BOOL, 0, "false") |
50 | | ZEND_END_ARG_INFO() |
51 | | |
52 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_defined, 0, 1, _IS_BOOL, 0) |
53 | | ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0) |
54 | | ZEND_END_ARG_INFO() |
55 | | |
56 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class, 0, 0, IS_STRING, 0) |
57 | | ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0) |
58 | | ZEND_END_ARG_INFO() |
59 | | |
60 | | #define arginfo_get_called_class arginfo_zend_version |
61 | | |
62 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_parent_class, 0, 0, MAY_BE_STRING|MAY_BE_FALSE) |
63 | | ZEND_ARG_TYPE_MASK(0, object_or_class, MAY_BE_OBJECT|MAY_BE_STRING, NULL) |
64 | | ZEND_END_ARG_INFO() |
65 | | |
66 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_subclass_of, 0, 2, _IS_BOOL, 0) |
67 | | ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0) |
68 | | ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0) |
69 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allow_string, _IS_BOOL, 0, "true") |
70 | | ZEND_END_ARG_INFO() |
71 | | |
72 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_a, 0, 2, _IS_BOOL, 0) |
73 | | ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0) |
74 | | ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0) |
75 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allow_string, _IS_BOOL, 0, "false") |
76 | | ZEND_END_ARG_INFO() |
77 | | |
78 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class_vars, 0, 1, IS_ARRAY, 0) |
79 | | ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0) |
80 | | ZEND_END_ARG_INFO() |
81 | | |
82 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_object_vars, 0, 1, IS_ARRAY, 0) |
83 | | ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0) |
84 | | ZEND_END_ARG_INFO() |
85 | | |
86 | | #define arginfo_get_mangled_object_vars arginfo_get_object_vars |
87 | | |
88 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class_methods, 0, 1, IS_ARRAY, 0) |
89 | | ZEND_ARG_TYPE_MASK(0, object_or_class, MAY_BE_OBJECT|MAY_BE_STRING, NULL) |
90 | | ZEND_END_ARG_INFO() |
91 | | |
92 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_method_exists, 0, 2, _IS_BOOL, 0) |
93 | | ZEND_ARG_INFO(0, object_or_class) |
94 | | ZEND_ARG_TYPE_INFO(0, method, IS_STRING, 0) |
95 | | ZEND_END_ARG_INFO() |
96 | | |
97 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_property_exists, 0, 2, _IS_BOOL, 0) |
98 | | ZEND_ARG_INFO(0, object_or_class) |
99 | | ZEND_ARG_TYPE_INFO(0, property, IS_STRING, 0) |
100 | | ZEND_END_ARG_INFO() |
101 | | |
102 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_exists, 0, 1, _IS_BOOL, 0) |
103 | | ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0) |
104 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true") |
105 | | ZEND_END_ARG_INFO() |
106 | | |
107 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_interface_exists, 0, 1, _IS_BOOL, 0) |
108 | | ZEND_ARG_TYPE_INFO(0, interface, IS_STRING, 0) |
109 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true") |
110 | | ZEND_END_ARG_INFO() |
111 | | |
112 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_trait_exists, 0, 1, _IS_BOOL, 0) |
113 | | ZEND_ARG_TYPE_INFO(0, trait, IS_STRING, 0) |
114 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true") |
115 | | ZEND_END_ARG_INFO() |
116 | | |
117 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_enum_exists, 0, 1, _IS_BOOL, 0) |
118 | | ZEND_ARG_TYPE_INFO(0, enum, IS_STRING, 0) |
119 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true") |
120 | | ZEND_END_ARG_INFO() |
121 | | |
122 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_function_exists, 0, 1, _IS_BOOL, 0) |
123 | | ZEND_ARG_TYPE_INFO(0, function, IS_STRING, 0) |
124 | | ZEND_END_ARG_INFO() |
125 | | |
126 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_alias, 0, 2, _IS_BOOL, 0) |
127 | | ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0) |
128 | | ZEND_ARG_TYPE_INFO(0, alias, IS_STRING, 0) |
129 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true") |
130 | | ZEND_END_ARG_INFO() |
131 | | |
132 | | #define arginfo_get_included_files arginfo_func_get_args |
133 | | |
134 | | #define arginfo_get_required_files arginfo_func_get_args |
135 | | |
136 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_trigger_error, 0, 1, IS_TRUE, 0) |
137 | | ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0) |
138 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, error_level, IS_LONG, 0, "E_USER_NOTICE") |
139 | | ZEND_END_ARG_INFO() |
140 | | |
141 | | #define arginfo_user_error arginfo_trigger_error |
142 | | |
143 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_set_error_handler, 0, 0, 1) |
144 | | ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1) |
145 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, error_levels, IS_LONG, 0, "E_ALL") |
146 | | ZEND_END_ARG_INFO() |
147 | | |
148 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_restore_error_handler, 0, 0, IS_TRUE, 0) |
149 | | ZEND_END_ARG_INFO() |
150 | | |
151 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_error_handler, 0, 0, IS_CALLABLE, 1) |
152 | | ZEND_END_ARG_INFO() |
153 | | |
154 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_set_exception_handler, 0, 0, 1) |
155 | | ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1) |
156 | | ZEND_END_ARG_INFO() |
157 | | |
158 | | #define arginfo_restore_exception_handler arginfo_restore_error_handler |
159 | | |
160 | | #define arginfo_get_exception_handler arginfo_get_error_handler |
161 | | |
162 | | #define arginfo_get_declared_classes arginfo_func_get_args |
163 | | |
164 | | #define arginfo_get_declared_traits arginfo_func_get_args |
165 | | |
166 | | #define arginfo_get_declared_interfaces arginfo_func_get_args |
167 | | |
168 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_functions, 0, 0, IS_ARRAY, 0) |
169 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclude_disabled, _IS_BOOL, 0, "true") |
170 | | ZEND_END_ARG_INFO() |
171 | | |
172 | | #define arginfo_get_defined_vars arginfo_func_get_args |
173 | | |
174 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_type, 0, 1, IS_STRING, 0) |
175 | | ZEND_ARG_INFO(0, resource) |
176 | | ZEND_END_ARG_INFO() |
177 | | |
178 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_id, 0, 1, IS_LONG, 0) |
179 | | ZEND_ARG_INFO(0, resource) |
180 | | ZEND_END_ARG_INFO() |
181 | | |
182 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resources, 0, 0, IS_ARRAY, 0) |
183 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 1, "null") |
184 | | ZEND_END_ARG_INFO() |
185 | | |
186 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_loaded_extensions, 0, 0, IS_ARRAY, 0) |
187 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, zend_extensions, _IS_BOOL, 0, "false") |
188 | | ZEND_END_ARG_INFO() |
189 | | |
190 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_constants, 0, 0, IS_ARRAY, 0) |
191 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, categorize, _IS_BOOL, 0, "false") |
192 | | ZEND_END_ARG_INFO() |
193 | | |
194 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_debug_backtrace, 0, 0, IS_ARRAY, 0) |
195 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "DEBUG_BACKTRACE_PROVIDE_OBJECT") |
196 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "0") |
197 | | ZEND_END_ARG_INFO() |
198 | | |
199 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_debug_print_backtrace, 0, 0, IS_VOID, 0) |
200 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0") |
201 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "0") |
202 | | ZEND_END_ARG_INFO() |
203 | | |
204 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_extension_loaded, 0, 1, _IS_BOOL, 0) |
205 | | ZEND_ARG_TYPE_INFO(0, extension, IS_STRING, 0) |
206 | | ZEND_END_ARG_INFO() |
207 | | |
208 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_extension_funcs, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) |
209 | | ZEND_ARG_TYPE_INFO(0, extension, IS_STRING, 0) |
210 | | ZEND_END_ARG_INFO() |
211 | | |
212 | | #if ZEND_DEBUG && defined(ZTS) |
213 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_thread_id, 0, 0, IS_LONG, 0) |
214 | | ZEND_END_ARG_INFO() |
215 | | #endif |
216 | | |
217 | | #define arginfo_gc_mem_caches arginfo_func_num_args |
218 | | |
219 | | #define arginfo_gc_collect_cycles arginfo_func_num_args |
220 | | |
221 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enabled, 0, 0, _IS_BOOL, 0) |
222 | | ZEND_END_ARG_INFO() |
223 | | |
224 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enable, 0, 0, IS_VOID, 0) |
225 | | ZEND_END_ARG_INFO() |
226 | | |
227 | | #define arginfo_gc_disable arginfo_gc_enable |
228 | | |
229 | | #define arginfo_gc_status arginfo_func_get_args |
230 | | |
231 | | |
232 | | ZEND_FRAMELESS_FUNCTION(property_exists, 2); |
233 | | static const zend_frameless_function_info frameless_function_infos_property_exists[] = { |
234 | | { ZEND_FRAMELESS_FUNCTION_NAME(property_exists, 2), 2 }, |
235 | | { 0 }, |
236 | | }; |
237 | | |
238 | | ZEND_FRAMELESS_FUNCTION(class_exists, 1); |
239 | | ZEND_FRAMELESS_FUNCTION(class_exists, 2); |
240 | | static const zend_frameless_function_info frameless_function_infos_class_exists[] = { |
241 | | { ZEND_FRAMELESS_FUNCTION_NAME(class_exists, 1), 1 }, |
242 | | { ZEND_FRAMELESS_FUNCTION_NAME(class_exists, 2), 2 }, |
243 | | { 0 }, |
244 | | }; |
245 | | |
246 | | ZEND_FUNCTION(exit); |
247 | | ZEND_FUNCTION(zend_version); |
248 | | ZEND_FUNCTION(func_num_args); |
249 | | ZEND_FUNCTION(func_get_arg); |
250 | | ZEND_FUNCTION(func_get_args); |
251 | | ZEND_FUNCTION(strlen); |
252 | | ZEND_FUNCTION(strcmp); |
253 | | ZEND_FUNCTION(strncmp); |
254 | | ZEND_FUNCTION(strcasecmp); |
255 | | ZEND_FUNCTION(strncasecmp); |
256 | | ZEND_FUNCTION(error_reporting); |
257 | | ZEND_FUNCTION(define); |
258 | | ZEND_FUNCTION(defined); |
259 | | ZEND_FUNCTION(get_class); |
260 | | ZEND_FUNCTION(get_called_class); |
261 | | ZEND_FUNCTION(get_parent_class); |
262 | | ZEND_FUNCTION(is_subclass_of); |
263 | | ZEND_FUNCTION(is_a); |
264 | | ZEND_FUNCTION(get_class_vars); |
265 | | ZEND_FUNCTION(get_object_vars); |
266 | | ZEND_FUNCTION(get_mangled_object_vars); |
267 | | ZEND_FUNCTION(get_class_methods); |
268 | | ZEND_FUNCTION(method_exists); |
269 | | ZEND_FUNCTION(property_exists); |
270 | | ZEND_FUNCTION(class_exists); |
271 | | ZEND_FUNCTION(interface_exists); |
272 | | ZEND_FUNCTION(trait_exists); |
273 | | ZEND_FUNCTION(enum_exists); |
274 | | ZEND_FUNCTION(function_exists); |
275 | | ZEND_FUNCTION(class_alias); |
276 | | ZEND_FUNCTION(get_included_files); |
277 | | ZEND_FUNCTION(trigger_error); |
278 | | ZEND_FUNCTION(set_error_handler); |
279 | | ZEND_FUNCTION(restore_error_handler); |
280 | | ZEND_FUNCTION(get_error_handler); |
281 | | ZEND_FUNCTION(set_exception_handler); |
282 | | ZEND_FUNCTION(restore_exception_handler); |
283 | | ZEND_FUNCTION(get_exception_handler); |
284 | | ZEND_FUNCTION(get_declared_classes); |
285 | | ZEND_FUNCTION(get_declared_traits); |
286 | | ZEND_FUNCTION(get_declared_interfaces); |
287 | | ZEND_FUNCTION(get_defined_functions); |
288 | | ZEND_FUNCTION(get_defined_vars); |
289 | | ZEND_FUNCTION(get_resource_type); |
290 | | ZEND_FUNCTION(get_resource_id); |
291 | | ZEND_FUNCTION(get_resources); |
292 | | ZEND_FUNCTION(get_loaded_extensions); |
293 | | ZEND_FUNCTION(get_defined_constants); |
294 | | ZEND_FUNCTION(debug_backtrace); |
295 | | ZEND_FUNCTION(debug_print_backtrace); |
296 | | ZEND_FUNCTION(extension_loaded); |
297 | | ZEND_FUNCTION(get_extension_funcs); |
298 | | #if ZEND_DEBUG && defined(ZTS) |
299 | | ZEND_FUNCTION(zend_thread_id); |
300 | | #endif |
301 | | ZEND_FUNCTION(gc_mem_caches); |
302 | | ZEND_FUNCTION(gc_collect_cycles); |
303 | | ZEND_FUNCTION(gc_enabled); |
304 | | ZEND_FUNCTION(gc_enable); |
305 | | ZEND_FUNCTION(gc_disable); |
306 | | ZEND_FUNCTION(gc_status); |
307 | | |
308 | | static const zend_function_entry ext_functions[] = { |
309 | | ZEND_FE(exit, arginfo_exit) |
310 | | ZEND_RAW_FENTRY("die", zif_exit, arginfo_die, 0, NULL, NULL) |
311 | | ZEND_FE(zend_version, arginfo_zend_version) |
312 | | ZEND_FE(func_num_args, arginfo_func_num_args) |
313 | | ZEND_FE(func_get_arg, arginfo_func_get_arg) |
314 | | ZEND_FE(func_get_args, arginfo_func_get_args) |
315 | | ZEND_FE(strlen, arginfo_strlen) |
316 | | ZEND_RAW_FENTRY("strcmp", zif_strcmp, arginfo_strcmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL) |
317 | | ZEND_RAW_FENTRY("strncmp", zif_strncmp, arginfo_strncmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL) |
318 | | ZEND_RAW_FENTRY("strcasecmp", zif_strcasecmp, arginfo_strcasecmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL) |
319 | | ZEND_RAW_FENTRY("strncasecmp", zif_strncasecmp, arginfo_strncasecmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL) |
320 | | ZEND_FE(error_reporting, arginfo_error_reporting) |
321 | | ZEND_FE(define, arginfo_define) |
322 | | ZEND_FE(defined, arginfo_defined) |
323 | | ZEND_FE(get_class, arginfo_get_class) |
324 | | ZEND_FE(get_called_class, arginfo_get_called_class) |
325 | | ZEND_FE(get_parent_class, arginfo_get_parent_class) |
326 | | ZEND_FE(is_subclass_of, arginfo_is_subclass_of) |
327 | | ZEND_FE(is_a, arginfo_is_a) |
328 | | ZEND_FE(get_class_vars, arginfo_get_class_vars) |
329 | | ZEND_FE(get_object_vars, arginfo_get_object_vars) |
330 | | ZEND_FE(get_mangled_object_vars, arginfo_get_mangled_object_vars) |
331 | | ZEND_FE(get_class_methods, arginfo_get_class_methods) |
332 | | ZEND_FE(method_exists, arginfo_method_exists) |
333 | | ZEND_RAW_FENTRY("property_exists", zif_property_exists, arginfo_property_exists, 0, frameless_function_infos_property_exists, NULL) |
334 | | ZEND_RAW_FENTRY("class_exists", zif_class_exists, arginfo_class_exists, 0, frameless_function_infos_class_exists, NULL) |
335 | | ZEND_FE(interface_exists, arginfo_interface_exists) |
336 | | ZEND_FE(trait_exists, arginfo_trait_exists) |
337 | | ZEND_FE(enum_exists, arginfo_enum_exists) |
338 | | ZEND_FE(function_exists, arginfo_function_exists) |
339 | | ZEND_FE(class_alias, arginfo_class_alias) |
340 | | ZEND_FE(get_included_files, arginfo_get_included_files) |
341 | | ZEND_RAW_FENTRY("get_required_files", zif_get_included_files, arginfo_get_required_files, 0, NULL, NULL) |
342 | | ZEND_FE(trigger_error, arginfo_trigger_error) |
343 | | ZEND_RAW_FENTRY("user_error", zif_trigger_error, arginfo_user_error, 0, NULL, NULL) |
344 | | ZEND_FE(set_error_handler, arginfo_set_error_handler) |
345 | | ZEND_FE(restore_error_handler, arginfo_restore_error_handler) |
346 | | ZEND_FE(get_error_handler, arginfo_get_error_handler) |
347 | | ZEND_FE(set_exception_handler, arginfo_set_exception_handler) |
348 | | ZEND_FE(restore_exception_handler, arginfo_restore_exception_handler) |
349 | | ZEND_FE(get_exception_handler, arginfo_get_exception_handler) |
350 | | ZEND_FE(get_declared_classes, arginfo_get_declared_classes) |
351 | | ZEND_FE(get_declared_traits, arginfo_get_declared_traits) |
352 | | ZEND_FE(get_declared_interfaces, arginfo_get_declared_interfaces) |
353 | | ZEND_FE(get_defined_functions, arginfo_get_defined_functions) |
354 | | ZEND_FE(get_defined_vars, arginfo_get_defined_vars) |
355 | | ZEND_FE(get_resource_type, arginfo_get_resource_type) |
356 | | ZEND_FE(get_resource_id, arginfo_get_resource_id) |
357 | | ZEND_FE(get_resources, arginfo_get_resources) |
358 | | ZEND_FE(get_loaded_extensions, arginfo_get_loaded_extensions) |
359 | | ZEND_FE(get_defined_constants, arginfo_get_defined_constants) |
360 | | ZEND_FE(debug_backtrace, arginfo_debug_backtrace) |
361 | | ZEND_FE(debug_print_backtrace, arginfo_debug_print_backtrace) |
362 | | ZEND_FE(extension_loaded, arginfo_extension_loaded) |
363 | | ZEND_FE(get_extension_funcs, arginfo_get_extension_funcs) |
364 | | #if ZEND_DEBUG && defined(ZTS) |
365 | | ZEND_FE(zend_thread_id, arginfo_zend_thread_id) |
366 | | #endif |
367 | | ZEND_FE(gc_mem_caches, arginfo_gc_mem_caches) |
368 | | ZEND_FE(gc_collect_cycles, arginfo_gc_collect_cycles) |
369 | | ZEND_FE(gc_enabled, arginfo_gc_enabled) |
370 | | ZEND_FE(gc_enable, arginfo_gc_enable) |
371 | | ZEND_FE(gc_disable, arginfo_gc_disable) |
372 | | ZEND_FE(gc_status, arginfo_gc_status) |
373 | | ZEND_FE_END |
374 | | }; |
375 | | |
376 | | static zend_class_entry *register_class_stdClass(void) |
377 | 16 | { |
378 | 16 | zend_class_entry ce, *class_entry; |
379 | | |
380 | 16 | INIT_CLASS_ENTRY(ce, "stdClass", NULL); |
381 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES); |
382 | | |
383 | 16 | zend_string *attribute_name_AllowDynamicProperties_class_stdClass_0 = zend_string_init_interned("AllowDynamicProperties", sizeof("AllowDynamicProperties") - 1, 1); |
384 | 16 | zend_add_class_attribute(class_entry, attribute_name_AllowDynamicProperties_class_stdClass_0, 0); |
385 | 16 | zend_string_release(attribute_name_AllowDynamicProperties_class_stdClass_0); |
386 | | |
387 | 16 | return class_entry; |
388 | 16 | } |