php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_spl_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 21ec2dcca99c85c90afcd319da76016a9f678dc2 */
3
5 ZEND_ARG_INFO(0, object_or_class)
8
9#define arginfo_class_parents arginfo_class_implements
10
11#define arginfo_class_uses arginfo_class_implements
12
13ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload, 0, 1, IS_VOID, 0)
14 ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
15 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, file_extensions, IS_STRING, 1, "null")
17
18ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_call, 0, 1, IS_VOID, 0)
19 ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
21
22ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_extensions, 0, 0, IS_STRING, 0)
23 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, file_extensions, IS_STRING, 1, "null")
25
26ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_functions, 0, 0, IS_ARRAY, 0)
28
29ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_register, 0, 0, _IS_BOOL, 0)
32 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prepend, _IS_BOOL, 0, "false")
34
35ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_unregister, 0, 1, _IS_BOOL, 0)
38
39#define arginfo_spl_classes arginfo_spl_autoload_functions
40
41ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_object_hash, 0, 1, IS_STRING, 0)
42 ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
44
45ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_object_id, 0, 1, IS_LONG, 0)
46 ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
48
49ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_apply, 0, 2, IS_LONG, 0)
50 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
54
55ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_count, 0, 1, IS_LONG, 0)
58
59ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_to_array, 0, 1, IS_ARRAY, 0)
61 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserve_keys, _IS_BOOL, 0, "true")
63
67ZEND_FUNCTION(spl_autoload);
79
80static const zend_function_entry ext_functions[] = {
81 ZEND_FE(class_implements, arginfo_class_implements)
84 ZEND_FE(spl_autoload, arginfo_spl_autoload)
85 ZEND_FE(spl_autoload_call, arginfo_spl_autoload_call)
86 ZEND_FE(spl_autoload_extensions, arginfo_spl_autoload_extensions)
87 ZEND_FE(spl_autoload_functions, arginfo_spl_autoload_functions)
88 ZEND_FE(spl_autoload_register, arginfo_spl_autoload_register)
89 ZEND_FE(spl_autoload_unregister, arginfo_spl_autoload_unregister)
91 ZEND_FE(spl_object_hash, arginfo_spl_object_hash)
92 ZEND_FE(spl_object_id, arginfo_spl_object_id)
93 ZEND_FE(iterator_apply, arginfo_iterator_apply)
94 ZEND_FE(iterator_count, arginfo_iterator_count)
95 ZEND_FE(iterator_to_array, arginfo_iterator_to_array)
97};
zval callback
Definition assert.c:25
#define NULL
Definition gdcache.h:45
ZEND_TLS zend_string * spl_autoload_extensions
Definition php_spl.c:39
ZEND_TLS HashTable * spl_autoload_functions
Definition php_spl.c:40
spl_autoload_register(?callable $callback=null, bool $throw=true, bool $prepend=false)
spl_object_id(object $object)
class_uses($object_or_class, bool $autoload=true)
spl_autoload_call(string $class)
iterator_count(iterable $iterator)
class_parents($object_or_class, bool $autoload=true)
iterator_to_array(iterable $iterator, bool $preserve_keys=true)
spl_classes()
spl_object_hash(object $object)
iterator_apply(Traversable $iterator, callable $callback, ?array $args=null)
class_implements($object_or_class, bool $autoload=true)
spl_autoload_unregister(callable $callback)
#define arginfo_spl_classes
#define arginfo_class_parents
#define arginfo_class_uses
#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_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
Definition zend_API.h:148
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define ZEND_ARG_INFO(pass_by_ref, name)
Definition zend_API.h:130
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#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_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
zval * args
#define MAY_BE_FALSE
#define MAY_BE_ARRAY
#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_BOOL
Definition zend_types.h:629
#define IS_CALLABLE
Definition zend_types.h:615