php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_builtin_functions_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 3dbc84896823c9aaa9ac8aeef8841266920c3e50 */
3
7
8#define arginfo_die arginfo_exit
9
10ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0)
12
13ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_num_args, 0, 0, IS_LONG, 0)
15
16ZEND_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)
19
20ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_get_args, 0, 0, IS_ARRAY, 0)
22
24 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
26
28 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
29 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
31
32ZEND_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)
37
38#define arginfo_strcasecmp arginfo_strcmp
39
40#define arginfo_strncasecmp arginfo_strncmp
41
42ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_error_reporting, 0, 0, IS_LONG, 0)
45
47 ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0)
49 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, case_insensitive, _IS_BOOL, 0, "false")
51
53 ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0)
55
56ZEND_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)
59
60#define arginfo_get_called_class arginfo_zend_version
61
65
66ZEND_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")
71
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")
77
78ZEND_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)
81
82ZEND_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)
85
86#define arginfo_get_mangled_object_vars arginfo_get_object_vars
87
88ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class_methods, 0, 1, IS_ARRAY, 0)
91
92ZEND_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)
96
97ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_property_exists, 0, 2, _IS_BOOL, 0)
98 ZEND_ARG_INFO(0, object_or_class)
101
102ZEND_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")
106
107ZEND_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")
111
112ZEND_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")
116
117ZEND_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")
121
122ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_function_exists, 0, 1, _IS_BOOL, 0)
125
126ZEND_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")
131
132#define arginfo_get_included_files arginfo_func_get_args
133
134#define arginfo_get_required_files arginfo_func_get_args
135
136ZEND_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)
140
141#define arginfo_user_error arginfo_trigger_error
142
143ZEND_BEGIN_ARG_INFO_EX(arginfo_set_error_handler, 0, 0, 1)
145 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, error_levels, IS_LONG, 0, "E_ALL")
147
148ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_restore_error_handler, 0, 0, IS_TRUE, 0)
150
151ZEND_BEGIN_ARG_INFO_EX(arginfo_set_exception_handler, 0, 0, 1)
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
163ZEND_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")
166
167#define arginfo_get_defined_vars arginfo_func_get_args
168
169ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_type, 0, 1, IS_STRING, 0)
170 ZEND_ARG_INFO(0, resource)
172
173ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_id, 0, 1, IS_LONG, 0)
174 ZEND_ARG_INFO(0, resource)
176
177ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resources, 0, 0, IS_ARRAY, 0)
180
181ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_loaded_extensions, 0, 0, IS_ARRAY, 0)
184
185ZEND_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")
188
189ZEND_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")
193
194ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_debug_print_backtrace, 0, 0, IS_VOID, 0)
198
199ZEND_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)
202
203ZEND_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)
206
207#if ZEND_DEBUG && defined(ZTS)
208ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_thread_id, 0, 0, IS_LONG, 0)
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
216ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enabled, 0, 0, _IS_BOOL, 0)
218
219ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gc_enable, 0, 0, IS_VOID, 0)
221
222#define arginfo_gc_disable arginfo_gc_enable
223
224#define arginfo_gc_status arginfo_func_get_args
225
226
228static const zend_frameless_function_info frameless_function_infos_property_exists[] = {
230 { 0 },
231};
232
235static const zend_frameless_function_info frameless_function_infos_class_exists[] = {
238 { 0 },
239};
240
291#if ZEND_DEBUG && defined(ZTS)
293#endif
300
301static 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)
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)
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)
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)
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)
344 ZEND_FE(get_defined_functions, arginfo_get_defined_functions)
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
360 ZEND_FE(gc_enabled, arginfo_gc_enabled)
361 ZEND_FE(gc_enable, arginfo_gc_enable)
365};
366
367static zend_class_entry *register_class_stdClass(void)
368{
369 zend_class_entry ce, *class_entry;
370
371 INIT_CLASS_ENTRY(ce, "stdClass", NULL);
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}
zval callback
Definition assert.c:25
DNS_STATUS status
Definition dns_win32.c:49
zend_ffi_type * type
Definition ffi.c:3812
#define NULL
Definition gdcache.h:45
zend_long error_level
Definition php_intl.h:52
PHP_JSON_API size_t int options
Definition php_json.h:102
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_ARG_INFO(pass_by_ref, name)
Definition zend_API.h:130
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
method_exists($object_or_class, string $method)
property_exists($object_or_class, string $property)
is_subclass_of(mixed $object_or_class, string $class, bool $allow_string=true)
trigger_error(string $message, int $error_level=E_USER_NOTICE)
get_defined_constants(bool $categorize=false)
function_exists(string $function)
debug_backtrace(int $options=DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit=0)
is_a(mixed $object_or_class, string $class, bool $allow_string=false)
define(string $constant_name, mixed $value, bool $case_insensitive=false)
get_extension_funcs(string $extension)
get_class_methods(object|string $object_or_class)
get_resources(?string $type=null)
error_reporting(?int $error_level=null)
set_error_handler(?callable $callback, int $error_levels=E_ALL)
debug_print_backtrace(int $options=0, int $limit=0)
get_resource_id($resource)
strlen(string $string)
strncmp(string $string1, string $string2, int $length)
class_alias(string $class, string $alias, bool $autoload=true)
get_resource_type($resource)
get_loaded_extensions(bool $zend_extensions=false)
trait_exists(string $trait, bool $autoload=true)
defined(string $constant_name)
class_exists(string $class, bool $autoload=true)
func_get_arg(int $position)
set_exception_handler(?callable $callback)
get_defined_functions(bool $exclude_disabled=true)
enum_exists(string $enum, bool $autoload=true)
get_class(object $object=UNKNOWN)
get_class_vars(string $class)
get_object_vars(object $object)
get_parent_class(object|string $object_or_class=UNKNOWN)
interface_exists(string $interface, bool $autoload=true)
exit(string|int $status=0)
get_mangled_object_vars(object $object)
extension_loaded(string $extension)
strcmp(string $string1, string $string2)
#define arginfo_get_included_files
#define arginfo_get_declared_classes
#define arginfo_gc_collect_cycles
#define arginfo_get_declared_interfaces
#define arginfo_gc_disable
#define arginfo_gc_status
#define arginfo_die
#define arginfo_user_error
#define arginfo_get_mangled_object_vars
#define arginfo_strcasecmp
#define arginfo_restore_exception_handler
#define arginfo_get_required_files
#define arginfo_gc_mem_caches
#define arginfo_get_declared_traits
#define arginfo_get_defined_vars
#define arginfo_strncasecmp
#define arginfo_get_called_class
#define ZEND_ACC_COMPILE_TIME_EVAL
#define ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES
#define strncasecmp(s1, s2, n)
#define strcasecmp(s1, s2)
ZEND_API zend_llist zend_extensions
#define ZEND_FRAMELESS_FUNCTION_NAME(name, arity)
#define ZEND_FRAMELESS_FUNCTION(name, arity)
ZEND_API int(* gc_collect_cycles)(void)
Definition zend_gc.c:245
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
ZEND_API zend_string_init_interned_func_t zend_string_init_interned
Definition zend_string.c:31
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_LONG
#define MAY_BE_OBJECT
#define MAY_BE_ARRAY
#define IS_TRUE
Definition zend_types.h:603
#define IS_STRING
Definition zend_types.h:606
#define IS_ARRAY
Definition zend_types.h:607
#define IS_VOID
Definition zend_types.h:617
#define IS_OBJECT
Definition zend_types.h:608
#define IS_LONG
Definition zend_types.h:604
#define IS_MIXED
Definition zend_types.h:619
#define _IS_BOOL
Definition zend_types.h:629
#define IS_NEVER
Definition zend_types.h:620
#define IS_CALLABLE
Definition zend_types.h:615
function(EX_VAR(opline->result.var))
value
property