php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
shmop_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: e7f250077b6721539caee96afe4ed392396018f9 */
3
7 ZEND_ARG_TYPE_INFO(0, permissions, IS_LONG, 0)
10
11ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_read, 0, 3, IS_STRING, 0)
12 ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
16
17ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_close, 0, 1, IS_VOID, 0)
18 ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
20
21ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_size, 0, 1, IS_LONG, 0)
22 ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
24
25ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_write, 0, 3, IS_LONG, 0)
26 ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
30
31ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_delete, 0, 1, _IS_BOOL, 0)
32 ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
34
41
42static const zend_function_entry ext_functions[] = {
43 ZEND_FE(shmop_open, arginfo_shmop_open)
44 ZEND_FE(shmop_read, arginfo_shmop_read)
45 ZEND_RAW_FENTRY("shmop_close", zif_shmop_close, arginfo_shmop_close, ZEND_ACC_DEPRECATED, NULL, NULL)
46 ZEND_FE(shmop_size, arginfo_shmop_size)
47 ZEND_FE(shmop_write, arginfo_shmop_write)
48 ZEND_FE(shmop_delete, arginfo_shmop_delete)
50};
51
52static void register_shmop_symbols(int module_number)
53{
54
55 zend_attribute *attribute_Deprecated_func_shmop_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "shmop_close", sizeof("shmop_close") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
56 zval attribute_Deprecated_func_shmop_close_0_arg0;
57 zend_string *attribute_Deprecated_func_shmop_close_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
58 ZVAL_STR(&attribute_Deprecated_func_shmop_close_0_arg0, attribute_Deprecated_func_shmop_close_0_arg0_str);
59 ZVAL_COPY_VALUE(&attribute_Deprecated_func_shmop_close_0->args[0].value, &attribute_Deprecated_func_shmop_close_0_arg0);
60 attribute_Deprecated_func_shmop_close_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
61 zval attribute_Deprecated_func_shmop_close_0_arg1;
62 zend_string *attribute_Deprecated_func_shmop_close_0_arg1_str = zend_string_init("as Shmop objects are freed automatically", strlen("as Shmop objects are freed automatically"), 1);
63 ZVAL_STR(&attribute_Deprecated_func_shmop_close_0_arg1, attribute_Deprecated_func_shmop_close_0_arg1_str);
64 ZVAL_COPY_VALUE(&attribute_Deprecated_func_shmop_close_0->args[1].value, &attribute_Deprecated_func_shmop_close_0_arg1);
65 attribute_Deprecated_func_shmop_close_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
66}
67
68static zend_class_entry *register_class_Shmop(void)
69{
70 zend_class_entry ce, *class_entry;
71
72 INIT_CLASS_ENTRY(ce, "Shmop", NULL);
74
75 return class_entry;
76}
new_type size
Definition ffi.c:4365
zend_long offset
char * mode
#define NULL
Definition gdcache.h:45
unsigned char key[REFLECTION_KEY_LEN]
zend_constant * data
shmop_size(Shmop $shmop)
shmop_read(Shmop $shmop, int $offset, int $size)
shmop_write(Shmop $shmop, string $data, int $offset)
shmop_open(int $key, string $mode, int $permissions, int $size)
shmop_delete(Shmop $shmop)
shmop_close(Shmop $shmop)
zend_attribute_arg args[1]
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_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:195
#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_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(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
struct _zend_attribute zend_attribute
struct _zval_struct zval
strlen(string $string)
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_DEPRECATED
#define CG(v)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define ZSTR_KNOWN(idx)
#define MAY_BE_FALSE
#define ZVAL_STR(z, s)
#define IS_STRING
Definition zend_types.h:606
#define IS_VOID
Definition zend_types.h:617
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629
#define ZVAL_COPY_VALUE(z, v)