1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 3dbc84896823c9aaa9ac8aeef8841266920c3e50 */
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_INFO_EX(arginfo_set_exception_handler, 0, 0, 1)
152 	ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1)
153 ZEND_END_ARG_INFO()
154 
155 #define arginfo_restore_exception_handler arginfo_restore_error_handler
156 
157 #define arginfo_get_declared_classes arginfo_func_get_args
158 
159 #define arginfo_get_declared_traits arginfo_func_get_args
160 
161 #define arginfo_get_declared_interfaces arginfo_func_get_args
162 
163 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_functions, 0, 0, IS_ARRAY, 0)
164 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclude_disabled, _IS_BOOL, 0, "true")
165 ZEND_END_ARG_INFO()
166 
167 #define arginfo_get_defined_vars arginfo_func_get_args
168 
169 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_type, 0, 1, IS_STRING, 0)
170 	ZEND_ARG_INFO(0, resource)
171 ZEND_END_ARG_INFO()
172 
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_id, 0, 1, IS_LONG, 0)
174 	ZEND_ARG_INFO(0, resource)
175 ZEND_END_ARG_INFO()
176 
177 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resources, 0, 0, IS_ARRAY, 0)
178 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 1, "null")
179 ZEND_END_ARG_INFO()
180 
181 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_loaded_extensions, 0, 0, IS_ARRAY, 0)
182 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, zend_extensions, _IS_BOOL, 0, "false")
183 ZEND_END_ARG_INFO()
184 
185 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_constants, 0, 0, IS_ARRAY, 0)
186 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, categorize, _IS_BOOL, 0, "false")
187 ZEND_END_ARG_INFO()
188 
189 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_debug_backtrace, 0, 0, IS_ARRAY, 0)
190 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "DEBUG_BACKTRACE_PROVIDE_OBJECT")
191 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "0")
192 ZEND_END_ARG_INFO()
193 
194 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_debug_print_backtrace, 0, 0, IS_VOID, 0)
195 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
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_extension_loaded, 0, 1, _IS_BOOL, 0)
200 	ZEND_ARG_TYPE_INFO(0, extension, IS_STRING, 0)
201 ZEND_END_ARG_INFO()
202 
203 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_extension_funcs, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
204 	ZEND_ARG_TYPE_INFO(0, extension, IS_STRING, 0)
205 ZEND_END_ARG_INFO()
206 
207 #if ZEND_DEBUG && defined(ZTS)
208 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_thread_id, 0, 0, IS_LONG, 0)
209 ZEND_END_ARG_INFO()
210 #endif
211 
212 #define arginfo_gc_mem_caches arginfo_func_num_args
213 
214 #define arginfo_gc_collect_cycles arginfo_func_num_args
215 
216 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enabled, 0, 0, _IS_BOOL, 0)
217 ZEND_END_ARG_INFO()
218 
219 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enable, 0, 0, IS_VOID, 0)
220 ZEND_END_ARG_INFO()
221 
222 #define arginfo_gc_disable arginfo_gc_enable
223 
224 #define arginfo_gc_status arginfo_func_get_args
225 
226 
227 ZEND_FRAMELESS_FUNCTION(property_exists, 2);
228 static const zend_frameless_function_info frameless_function_infos_property_exists[] = {
229 	{ ZEND_FRAMELESS_FUNCTION_NAME(property_exists, 2), 2 },
230 	{ 0 },
231 };
232 
233 ZEND_FRAMELESS_FUNCTION(class_exists, 1);
234 ZEND_FRAMELESS_FUNCTION(class_exists, 2);
235 static const zend_frameless_function_info frameless_function_infos_class_exists[] = {
236 	{ ZEND_FRAMELESS_FUNCTION_NAME(class_exists, 1), 1 },
237 	{ ZEND_FRAMELESS_FUNCTION_NAME(class_exists, 2), 2 },
238 	{ 0 },
239 };
240 
241 ZEND_FUNCTION(exit);
242 ZEND_FUNCTION(zend_version);
243 ZEND_FUNCTION(func_num_args);
244 ZEND_FUNCTION(func_get_arg);
245 ZEND_FUNCTION(func_get_args);
246 ZEND_FUNCTION(strlen);
247 ZEND_FUNCTION(strcmp);
248 ZEND_FUNCTION(strncmp);
249 ZEND_FUNCTION(strcasecmp);
250 ZEND_FUNCTION(strncasecmp);
251 ZEND_FUNCTION(error_reporting);
252 ZEND_FUNCTION(define);
253 ZEND_FUNCTION(defined);
254 ZEND_FUNCTION(get_class);
255 ZEND_FUNCTION(get_called_class);
256 ZEND_FUNCTION(get_parent_class);
257 ZEND_FUNCTION(is_subclass_of);
258 ZEND_FUNCTION(is_a);
259 ZEND_FUNCTION(get_class_vars);
260 ZEND_FUNCTION(get_object_vars);
261 ZEND_FUNCTION(get_mangled_object_vars);
262 ZEND_FUNCTION(get_class_methods);
263 ZEND_FUNCTION(method_exists);
264 ZEND_FUNCTION(property_exists);
265 ZEND_FUNCTION(class_exists);
266 ZEND_FUNCTION(interface_exists);
267 ZEND_FUNCTION(trait_exists);
268 ZEND_FUNCTION(enum_exists);
269 ZEND_FUNCTION(function_exists);
270 ZEND_FUNCTION(class_alias);
271 ZEND_FUNCTION(get_included_files);
272 ZEND_FUNCTION(trigger_error);
273 ZEND_FUNCTION(set_error_handler);
274 ZEND_FUNCTION(restore_error_handler);
275 ZEND_FUNCTION(set_exception_handler);
276 ZEND_FUNCTION(restore_exception_handler);
277 ZEND_FUNCTION(get_declared_classes);
278 ZEND_FUNCTION(get_declared_traits);
279 ZEND_FUNCTION(get_declared_interfaces);
280 ZEND_FUNCTION(get_defined_functions);
281 ZEND_FUNCTION(get_defined_vars);
282 ZEND_FUNCTION(get_resource_type);
283 ZEND_FUNCTION(get_resource_id);
284 ZEND_FUNCTION(get_resources);
285 ZEND_FUNCTION(get_loaded_extensions);
286 ZEND_FUNCTION(get_defined_constants);
287 ZEND_FUNCTION(debug_backtrace);
288 ZEND_FUNCTION(debug_print_backtrace);
289 ZEND_FUNCTION(extension_loaded);
290 ZEND_FUNCTION(get_extension_funcs);
291 #if ZEND_DEBUG && defined(ZTS)
292 ZEND_FUNCTION(zend_thread_id);
293 #endif
294 ZEND_FUNCTION(gc_mem_caches);
295 ZEND_FUNCTION(gc_collect_cycles);
296 ZEND_FUNCTION(gc_enabled);
297 ZEND_FUNCTION(gc_enable);
298 ZEND_FUNCTION(gc_disable);
299 ZEND_FUNCTION(gc_status);
300 
301 static const zend_function_entry ext_functions[] = {
302 	ZEND_FE(exit, arginfo_exit)
303 	ZEND_RAW_FENTRY("die", zif_exit, arginfo_die, 0, NULL, NULL)
304 	ZEND_FE(zend_version, arginfo_zend_version)
305 	ZEND_FE(func_num_args, arginfo_func_num_args)
306 	ZEND_FE(func_get_arg, arginfo_func_get_arg)
307 	ZEND_FE(func_get_args, arginfo_func_get_args)
308 	ZEND_FE(strlen, arginfo_strlen)
309 	ZEND_RAW_FENTRY("strcmp", zif_strcmp, arginfo_strcmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
310 	ZEND_RAW_FENTRY("strncmp", zif_strncmp, arginfo_strncmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
311 	ZEND_RAW_FENTRY("strcasecmp", zif_strcasecmp, arginfo_strcasecmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
312 	ZEND_RAW_FENTRY("strncasecmp", zif_strncasecmp, arginfo_strncasecmp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
313 	ZEND_FE(error_reporting, arginfo_error_reporting)
314 	ZEND_FE(define, arginfo_define)
315 	ZEND_FE(defined, arginfo_defined)
316 	ZEND_FE(get_class, arginfo_get_class)
317 	ZEND_FE(get_called_class, arginfo_get_called_class)
318 	ZEND_FE(get_parent_class, arginfo_get_parent_class)
319 	ZEND_FE(is_subclass_of, arginfo_is_subclass_of)
320 	ZEND_FE(is_a, arginfo_is_a)
321 	ZEND_FE(get_class_vars, arginfo_get_class_vars)
322 	ZEND_FE(get_object_vars, arginfo_get_object_vars)
323 	ZEND_FE(get_mangled_object_vars, arginfo_get_mangled_object_vars)
324 	ZEND_FE(get_class_methods, arginfo_get_class_methods)
325 	ZEND_FE(method_exists, arginfo_method_exists)
326 	ZEND_RAW_FENTRY("property_exists", zif_property_exists, arginfo_property_exists, 0, frameless_function_infos_property_exists, NULL)
327 	ZEND_RAW_FENTRY("class_exists", zif_class_exists, arginfo_class_exists, 0, frameless_function_infos_class_exists, NULL)
328 	ZEND_FE(interface_exists, arginfo_interface_exists)
329 	ZEND_FE(trait_exists, arginfo_trait_exists)
330 	ZEND_FE(enum_exists, arginfo_enum_exists)
331 	ZEND_FE(function_exists, arginfo_function_exists)
332 	ZEND_FE(class_alias, arginfo_class_alias)
333 	ZEND_FE(get_included_files, arginfo_get_included_files)
334 	ZEND_RAW_FENTRY("get_required_files", zif_get_included_files, arginfo_get_required_files, 0, NULL, NULL)
335 	ZEND_FE(trigger_error, arginfo_trigger_error)
336 	ZEND_RAW_FENTRY("user_error", zif_trigger_error, arginfo_user_error, 0, NULL, NULL)
337 	ZEND_FE(set_error_handler, arginfo_set_error_handler)
338 	ZEND_FE(restore_error_handler, arginfo_restore_error_handler)
339 	ZEND_FE(set_exception_handler, arginfo_set_exception_handler)
340 	ZEND_FE(restore_exception_handler, arginfo_restore_exception_handler)
341 	ZEND_FE(get_declared_classes, arginfo_get_declared_classes)
342 	ZEND_FE(get_declared_traits, arginfo_get_declared_traits)
343 	ZEND_FE(get_declared_interfaces, arginfo_get_declared_interfaces)
344 	ZEND_FE(get_defined_functions, arginfo_get_defined_functions)
345 	ZEND_FE(get_defined_vars, arginfo_get_defined_vars)
346 	ZEND_FE(get_resource_type, arginfo_get_resource_type)
347 	ZEND_FE(get_resource_id, arginfo_get_resource_id)
348 	ZEND_FE(get_resources, arginfo_get_resources)
349 	ZEND_FE(get_loaded_extensions, arginfo_get_loaded_extensions)
350 	ZEND_FE(get_defined_constants, arginfo_get_defined_constants)
351 	ZEND_FE(debug_backtrace, arginfo_debug_backtrace)
352 	ZEND_FE(debug_print_backtrace, arginfo_debug_print_backtrace)
353 	ZEND_FE(extension_loaded, arginfo_extension_loaded)
354 	ZEND_FE(get_extension_funcs, arginfo_get_extension_funcs)
355 #if ZEND_DEBUG && defined(ZTS)
356 	ZEND_FE(zend_thread_id, arginfo_zend_thread_id)
357 #endif
358 	ZEND_FE(gc_mem_caches, arginfo_gc_mem_caches)
359 	ZEND_FE(gc_collect_cycles, arginfo_gc_collect_cycles)
360 	ZEND_FE(gc_enabled, arginfo_gc_enabled)
361 	ZEND_FE(gc_enable, arginfo_gc_enable)
362 	ZEND_FE(gc_disable, arginfo_gc_disable)
363 	ZEND_FE(gc_status, arginfo_gc_status)
364 	ZEND_FE_END
365 };
366 
register_class_stdClass(void)367 static zend_class_entry *register_class_stdClass(void)
368 {
369 	zend_class_entry ce, *class_entry;
370 
371 	INIT_CLASS_ENTRY(ce, "stdClass", NULL);
372 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES);
373 
374 	zend_string *attribute_name_AllowDynamicProperties_class_stdClass_0 = zend_string_init_interned("AllowDynamicProperties", sizeof("AllowDynamicProperties") - 1, 1);
375 	zend_add_class_attribute(class_entry, attribute_name_AllowDynamicProperties_class_stdClass_0, 0);
376 	zend_string_release(attribute_name_AllowDynamicProperties_class_stdClass_0);
377 
378 	return class_entry;
379 }
380