diff options
Diffstat (limited to 'ext/pcre/php_pcre.stub.php')
| -rw-r--r-- | ext/pcre/php_pcre.stub.php | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/pcre/php_pcre.stub.php b/ext/pcre/php_pcre.stub.php index f620d119fd..b2862a2f62 100644 --- a/ext/pcre/php_pcre.stub.php +++ b/ext/pcre/php_pcre.stub.php @@ -2,29 +2,29 @@  /** @generate-function-entries */ -/** @param array $subpatterns */ -function preg_match(string $pattern, string $subject, &$subpatterns = null, int $flags = 0, int $offset = 0): int|false {} +/** @param array $matches */ +function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} -/** @param array $subpatterns */ -function preg_match_all(string $pattern, string $subject, &$subpatterns = null, int $flags = 0, int $offset = 0): int|false|null {} +/** @param array $matches */ +function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false|null {}  /** @param int $count */ -function preg_replace(string|array $regex, string|array $replace, string|array $subject, int $limit = -1, &$count = null): string|array|null {} +function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {}  /** @param int $count */ -function preg_filter(string|array $regex, string|array $replace, string|array $subject, int $limit = -1, &$count = null): string|array|null {} +function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {}  /** @param int $count */ -function preg_replace_callback(string|array $regex, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} +function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {}  /** @param int $count */  function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {}  function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false {} -function preg_quote(string $str, ?string $delim_char = null): string {} +function preg_quote(string $str, ?string $delimiter = null): string {} -function preg_grep(string $regex, array $input, int $flags = 0): array|false {} +function preg_grep(string $pattern, array $array, int $flags = 0): array|false {}  function preg_last_error(): int {}  | 
