1<?php 2 3/** @generate-function-entries */ 4 5/** @param array $matches */ 6function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} 7 8/** @param array $matches */ 9function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} 10 11/** @param int $count */ 12function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 13 14/** @param int $count */ 15function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 16 17/** @param int $count */ 18function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 19 20/** @param int $count */ 21function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 22 23function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false {} 24 25function preg_quote(string $str, ?string $delimiter = null): string {} 26 27function preg_grep(string $pattern, array $array, int $flags = 0): array|false {} 28 29function preg_last_error(): int {} 30 31function preg_last_error_msg(): string {} 32