php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
iconv_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 4367fa431d3e4814e42d9aa514c10cae1d842d8f */
3
5 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
8
10 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
15
17 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
18 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
22
24 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
25 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
28
30 ZEND_ARG_TYPE_INFO(0, field_name, IS_STRING, 0)
31 ZEND_ARG_TYPE_INFO(0, field_value, IS_STRING, 0)
34
36 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
40
41ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_iconv_mime_decode_headers, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
42 ZEND_ARG_TYPE_INFO(0, headers, IS_STRING, 0)
46
48 ZEND_ARG_TYPE_INFO(0, from_encoding, IS_STRING, 0)
49 ZEND_ARG_TYPE_INFO(0, to_encoding, IS_STRING, 0)
50 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
52
53ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iconv_set_encoding, 0, 2, _IS_BOOL, 0)
57
61
72
73static const zend_function_entry ext_functions[] = {
74 ZEND_FE(iconv_strlen, arginfo_iconv_strlen)
75 ZEND_FE(iconv_substr, arginfo_iconv_substr)
76 ZEND_FE(iconv_strpos, arginfo_iconv_strpos)
77 ZEND_FE(iconv_strrpos, arginfo_iconv_strrpos)
78 ZEND_FE(iconv_mime_encode, arginfo_iconv_mime_encode)
79 ZEND_FE(iconv_mime_decode, arginfo_iconv_mime_decode)
80 ZEND_FE(iconv_mime_decode_headers, arginfo_iconv_mime_decode_headers)
81 ZEND_FE(iconv, arginfo_iconv)
82 ZEND_FE(iconv_set_encoding, arginfo_iconv_set_encoding)
83 ZEND_FE(iconv_get_encoding, arginfo_iconv_get_encoding)
85};
86
87static void register_iconv_symbols(int module_number)
88{
89 REGISTER_STRING_CONSTANT("ICONV_IMPL", PHP_ICONV_IMPL_VALUE, CONST_PERSISTENT);
90 REGISTER_STRING_CONSTANT("ICONV_VERSION", get_iconv_version(), CONST_PERSISTENT);
91 REGISTER_LONG_CONSTANT("ICONV_MIME_DECODE_STRICT", PHP_ICONV_MIME_DECODE_STRICT, CONST_PERSISTENT);
92 REGISTER_LONG_CONSTANT("ICONV_MIME_DECODE_CONTINUE_ON_ERROR", PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR, CONST_PERSISTENT);
93}
zend_ffi_type * type
Definition ffi.c:3812
zend_long offset
char * mode
iconv(string $from_encoding, string $to_encoding, string $string)
iconv_mime_decode_headers(string $headers, int $mode=0, ?string $encoding=null)
iconv_mime_encode(string $field_name, string $field_value, array $options=[])
iconv_mime_decode(string $string, int $mode=0, ?string $encoding=null)
iconv_set_encoding(string $type, string $encoding)
iconv_substr(string $string, int $offset, ?int $length=null, ?string $encoding=null)
iconv_get_encoding(string $type="all")
iconv_strlen(string $string, ?string $encoding=null)
iconv_strrpos(string $haystack, string $needle, ?string $encoding=null)
iconv_strpos(string $haystack, string $needle, int $offset=0, ?string $encoding=null)
PHP_JSON_API size_t int options
Definition php_json.h:102
xmlCharEncodingHandlerPtr encoding
Definition php_soap.h:170
#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 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_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define CONST_PERSISTENT
#define REGISTER_LONG_CONSTANT(name, lval, flags)
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_LONG
#define MAY_BE_ARRAY
#define IS_STRING
Definition zend_types.h:606
#define IS_ARRAY
Definition zend_types.h:607
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629