php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_pcre.stub.php
Go to the documentation of this file.
1<?php
2
4
9const PREG_PATTERN_ORDER = UNKNOWN;
14const PREG_SET_ORDER = UNKNOWN;
19const PREG_OFFSET_CAPTURE = UNKNOWN;
24const PREG_UNMATCHED_AS_NULL = UNKNOWN;
29const PREG_SPLIT_NO_EMPTY = UNKNOWN;
44const PREG_GREP_INVERT = UNKNOWN;
49const PREG_NO_ERROR = UNKNOWN;
54const PREG_INTERNAL_ERROR = UNKNOWN;
69const PREG_BAD_UTF8_ERROR = UNKNOWN;
84const PCRE_VERSION = UNKNOWN;
89const PCRE_VERSION_MAJOR = UNKNOWN;
94const PCRE_VERSION_MINOR = UNKNOWN;
99const PCRE_JIT_SUPPORT = UNKNOWN;
100
105function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {}
106
108function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {}
109
115function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {}
116
121function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {}
122
127function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {}
128
130function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {}
131
136function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false {}
137
139function preg_quote(string $str, ?string $delimiter = null): string {}
140
142function preg_grep(string $pattern, array $array, int $flags = 0): array|false {}
143
145
#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 PREG_SPLIT_NO_EMPTY
Definition php_pcre.c:30
#define PREG_PATTERN_ORDER
Definition php_pcre.c:25
const PREG_RECURSION_LIMIT_ERROR
const PREG_BACKTRACK_LIMIT_ERROR
const PREG_NO_ERROR
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)
const PCRE_VERSION_MINOR
preg_match_all(string $pattern, string $subject, &$matches=null, int $flags=0, int $offset=0)
const PCRE_JIT_SUPPORT
preg_last_error()
preg_quote(string $str, ?string $delimiter=null)
const PCRE_VERSION_MAJOR
preg_grep(string $pattern, array $array, int $flags=0)
const PREG_BAD_UTF8_OFFSET_ERROR
const PREG_INTERNAL_ERROR
preg_replace_callback_array(array $pattern, string|array $subject, int $limit=-1, &$count=null, int $flags=0)
const PCRE_VERSION
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)
const PREG_BAD_UTF8_ERROR
preg_match(string $pattern, string $subject, &$matches=null, int $flags=0, int $offset=0)
const PREG_JIT_STACKLIMIT_ERROR
$array
Definition test.php:58
function(EX_VAR(opline->result.var))