php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_pcre_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 63de1d37ab303e1d6af7c96eaeeba09d7f35d116 */
3
5 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
6 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0)
7 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, matches, "null")
11
12#define arginfo_preg_match_all arginfo_preg_match
13
21
22#define arginfo_preg_filter arginfo_preg_replace
23
32
33ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_preg_replace_callback_array, 0, 2, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL)
34 ZEND_ARG_TYPE_INFO(0, pattern, IS_ARRAY, 0)
40
42 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
43 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0)
47
48ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_preg_quote, 0, 1, IS_STRING, 0)
50 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, delimiter, IS_STRING, 1, "null")
52
54 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
55 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
58
59ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_preg_last_error, 0, 0, IS_LONG, 0)
61
62ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_preg_last_error_msg, 0, 0, IS_STRING, 0)
64
65
67static const zend_frameless_function_info frameless_function_infos_preg_match[] = {
69 { 0 },
70};
71
73static const zend_frameless_function_info frameless_function_infos_preg_replace[] = {
75 { 0 },
76};
77
89
90static const zend_function_entry ext_functions[] = {
91 ZEND_RAW_FENTRY("preg_match", zif_preg_match, arginfo_preg_match, 0, frameless_function_infos_preg_match, NULL)
93 ZEND_RAW_FENTRY("preg_replace", zif_preg_replace, arginfo_preg_replace, 0, frameless_function_infos_preg_replace, NULL)
95 ZEND_FE(preg_replace_callback, arginfo_preg_replace_callback)
96 ZEND_FE(preg_replace_callback_array, arginfo_preg_replace_callback_array)
97 ZEND_FE(preg_split, arginfo_preg_split)
98 ZEND_RAW_FENTRY("preg_quote", zif_preg_quote, arginfo_preg_quote, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
99 ZEND_FE(preg_grep, arginfo_preg_grep)
100 ZEND_FE(preg_last_error, arginfo_preg_last_error)
101 ZEND_FE(preg_last_error_msg, arginfo_preg_last_error_msg)
103};
104
105static void register_php_pcre_symbols(int module_number)
106{
126}
zval callback
Definition assert.c:25
count(Countable|array $value, int $mode=COUNT_NORMAL)
zend_long offset
#define NULL
Definition gdcache.h:45
#define PCRE2_MINOR
Definition pcre2.h:45
#define PCRE2_MAJOR
Definition pcre2.h:44
#define PREG_OFFSET_CAPTURE
#define PREG_GREP_INVERT
Definition php_pcre.c:34
#define PREG_UNMATCHED_AS_NULL
Definition php_pcre.c:28
#define PREG_SET_ORDER
Definition php_pcre.c:26
#define PREG_SPLIT_DELIM_CAPTURE
Definition php_pcre.c:31
#define PREG_SPLIT_OFFSET_CAPTURE
Definition php_pcre.c:32
#define PHP_PCRE_JIT_SUPPORT
Definition php_pcre.c:43
char * php_pcre_version
Definition php_pcre.c:46
#define PREG_SPLIT_NO_EMPTY
Definition php_pcre.c:30
#define PREG_PATTERN_ORDER
Definition php_pcre.c:25
@ PHP_PCRE_JIT_STACKLIMIT_ERROR
Definition php_pcre.h:46
@ PHP_PCRE_BACKTRACK_LIMIT_ERROR
Definition php_pcre.h:42
@ PHP_PCRE_RECURSION_LIMIT_ERROR
Definition php_pcre.h:43
@ PHP_PCRE_BAD_UTF8_ERROR
Definition php_pcre.h:44
@ PHP_PCRE_NO_ERROR
Definition php_pcre.h:40
@ PHP_PCRE_BAD_UTF8_OFFSET_ERROR
Definition php_pcre.h:45
@ PHP_PCRE_INTERNAL_ERROR
Definition php_pcre.h:41
preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int $limit=-1, &$count=null)
preg_last_error_msg()
preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, int $limit=-1, &$count=null, int $flags=0)
preg_match_all(string $pattern, string $subject, &$matches=null, int $flags=0, int $offset=0)
preg_last_error()
preg_quote(string $str, ?string $delimiter=null)
preg_grep(string $pattern, array $array, int $flags=0)
preg_replace_callback_array(array $pattern, string|array $subject, int $limit=-1, &$count=null, int $flags=0)
preg_split(string $pattern, string $subject, int $limit=-1, int $flags=0)
preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $limit=-1, &$count=null)
preg_match(string $pattern, string $subject, &$matches=null, int $flags=0, int $offset=0)
#define arginfo_preg_filter
#define arginfo_preg_match_all
#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_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#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_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
Definition zend_API.h:132
#define ZEND_ACC_COMPILE_TIME_EVAL
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define REGISTER_BOOL_CONSTANT(name, bval, flags)
#define CONST_PERSISTENT
#define REGISTER_LONG_CONSTANT(name, lval, flags)
#define ZEND_FRAMELESS_FUNCTION_NAME(name, arity)
#define ZEND_FRAMELESS_FUNCTION(name, arity)
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_NULL
#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_CALLABLE
Definition zend_types.h:615