1<?php 2 3/** @generate-class-entries */ 4 5/** 6 * @var int 7 * @cvalue PREG_PATTERN_ORDER 8 */ 9const PREG_PATTERN_ORDER = UNKNOWN; 10/** 11 * @var int 12 * @cvalue PREG_SET_ORDER 13 */ 14const PREG_SET_ORDER = UNKNOWN; 15/** 16 * @var int 17 * @cvalue PREG_OFFSET_CAPTURE 18 */ 19const PREG_OFFSET_CAPTURE = UNKNOWN; 20/** 21 * @var int 22 * @cvalue PREG_UNMATCHED_AS_NULL 23 */ 24const PREG_UNMATCHED_AS_NULL = UNKNOWN; 25/** 26 * @var int 27 * @cvalue PREG_SPLIT_NO_EMPTY 28 */ 29const PREG_SPLIT_NO_EMPTY = UNKNOWN; 30/** 31 * @var int 32 * @cvalue PREG_SPLIT_DELIM_CAPTURE 33 */ 34const PREG_SPLIT_DELIM_CAPTURE = UNKNOWN; 35/** 36 * @var int 37 * @cvalue PREG_SPLIT_OFFSET_CAPTURE 38 */ 39const PREG_SPLIT_OFFSET_CAPTURE = UNKNOWN; 40/** 41 * @var int 42 * @cvalue PREG_GREP_INVERT 43 */ 44const PREG_GREP_INVERT = UNKNOWN; 45/** 46 * @var int 47 * @cvalue PHP_PCRE_NO_ERROR 48 */ 49const PREG_NO_ERROR = UNKNOWN; 50/** 51 * @var int 52 * @cvalue PHP_PCRE_INTERNAL_ERROR 53 */ 54const PREG_INTERNAL_ERROR = UNKNOWN; 55/** 56 * @var int 57 * @cvalue PHP_PCRE_BACKTRACK_LIMIT_ERROR 58 */ 59const PREG_BACKTRACK_LIMIT_ERROR = UNKNOWN; 60/** 61 * @var int 62 * @cvalue PHP_PCRE_RECURSION_LIMIT_ERROR 63 */ 64const PREG_RECURSION_LIMIT_ERROR = UNKNOWN; 65/** 66 * @var int 67 * @cvalue PHP_PCRE_BAD_UTF8_ERROR 68 */ 69const PREG_BAD_UTF8_ERROR = UNKNOWN; 70/** 71 * @var int 72 * @cvalue PHP_PCRE_BAD_UTF8_OFFSET_ERROR 73 */ 74const PREG_BAD_UTF8_OFFSET_ERROR = UNKNOWN; 75/** 76 * @var int 77 * @cvalue PHP_PCRE_JIT_STACKLIMIT_ERROR 78 */ 79const PREG_JIT_STACKLIMIT_ERROR = UNKNOWN; 80/** 81 * @var string 82 * @cvalue php_pcre_version 83 */ 84const PCRE_VERSION = UNKNOWN; 85/** 86 * @var int 87 * @cvalue PCRE2_MAJOR 88 */ 89const PCRE_VERSION_MAJOR = UNKNOWN; 90/** 91 * @var int 92 * @cvalue PCRE2_MINOR 93 */ 94const PCRE_VERSION_MINOR = UNKNOWN; 95/** 96 * @var bool 97 * @cvalue PHP_PCRE_JIT_SUPPORT 98 */ 99const PCRE_JIT_SUPPORT = UNKNOWN; 100 101/** @param array $matches */ 102function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} 103 104/** @param array $matches */ 105function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} 106 107/** 108 * @param int $count 109 * @return string|array<int|string, string>|null 110 */ 111function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 112 113/** 114 * @param int $count 115 * @return string|array<int|string, string>|null 116 */ 117function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 118 119/** 120 * @param int $count 121 * @return string|array<int|string, string>|null 122 */ 123function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 124 125/** @param int $count */ 126function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 127 128/** 129 * @return array<int|string, string|array>|false 130 * @refcount 1 131 */ 132function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false {} 133 134/** @compile-time-eval */ 135function preg_quote(string $str, ?string $delimiter = null): string {} 136 137/** @refcount 1 */ 138function preg_grep(string $pattern, array $array, int $flags = 0): array|false {} 139 140function preg_last_error(): int {} 141 142function preg_last_error_msg(): string {} 143