1<?php 2 3/** @generate-class-entries */ 4 5#ifdef HAVE_MBREGEX 6/** 7 * @var string 8 * @cvalue php_mb_oniguruma_version 9 */ 10const MB_ONIGURUMA_VERSION = UNKNOWN; 11#endif 12 13/** 14 * @var int 15 * @cvalue PHP_UNICODE_CASE_UPPER 16 */ 17const MB_CASE_UPPER = UNKNOWN; 18/** 19 * @var int 20 * @cvalue PHP_UNICODE_CASE_LOWER 21 */ 22const MB_CASE_LOWER = UNKNOWN; 23/** 24 * @var int 25 * @cvalue PHP_UNICODE_CASE_TITLE 26 */ 27const MB_CASE_TITLE = UNKNOWN; 28/** 29 * @var int 30 * @cvalue PHP_UNICODE_CASE_FOLD 31 */ 32const MB_CASE_FOLD = UNKNOWN; 33/** 34 * @var int 35 * @cvalue PHP_UNICODE_CASE_UPPER_SIMPLE 36 */ 37const MB_CASE_UPPER_SIMPLE = UNKNOWN; 38/** 39 * @var int 40 * @cvalue PHP_UNICODE_CASE_LOWER_SIMPLE 41 */ 42const MB_CASE_LOWER_SIMPLE = UNKNOWN; 43/** 44 * @var int 45 * @cvalue PHP_UNICODE_CASE_TITLE_SIMPLE 46 */ 47const MB_CASE_TITLE_SIMPLE = UNKNOWN; 48/** 49 * @var int 50 * @cvalue PHP_UNICODE_CASE_FOLD_SIMPLE 51 */ 52const MB_CASE_FOLD_SIMPLE = UNKNOWN; 53 54/** @refcount 1 */ 55function mb_language(?string $language = null): string|bool {} 56 57/** @refcount 1 */ 58function mb_internal_encoding(?string $encoding = null): string|bool {} 59 60/** 61 * @return array<int, string>|string|false 62 * @refcount 1 63 */ 64function mb_http_input(?string $type = null): array|string|false {} 65 66/** @refcount 1 */ 67function mb_http_output(?string $encoding = null): string|bool {} 68 69/** 70 * @return array<int, string>|true 71 * @refcount 1 72 */ 73function mb_detect_order(array|string|null $encoding = null): array|bool {} 74 75/** @refcount 1 */ 76function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {} 77 78/** @refcount 1 */ 79function mb_preferred_mime_name(string $encoding): string|false {} 80 81/** @param array $result */ 82function mb_parse_str(string $string, &$result): bool {} 83 84/** @refcount 1 */ 85function mb_output_handler(string $string, int $status): string {} 86 87function mb_str_split(string $string, int $length = 1, ?string $encoding = null): array {} 88 89function mb_strlen(string $string, ?string $encoding = null): int {} 90 91function mb_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {} 92 93function mb_strrpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {} 94 95function mb_stripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {} 96 97function mb_strripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {} 98 99/** @refcount 1 */ 100function mb_strstr(string $haystack, string $needle, bool $before_needle = false, ?string $encoding = null): string|false {} 101 102/** @refcount 1 */ 103function mb_strrchr(string $haystack, string $needle, bool $before_needle = false, ?string $encoding = null): string|false {} 104 105/** @refcount 1 */ 106function mb_stristr(string $haystack, string $needle, bool $before_needle = false, ?string $encoding = null): string|false {} 107 108/** @refcount 1 */ 109function mb_strrichr(string $haystack, string $needle, bool $before_needle = false, ?string $encoding = null): string|false {} 110 111function mb_substr_count(string $haystack, string $needle, ?string $encoding = null): int {} 112 113/** @refcount 1 */ 114function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): string {} 115 116/** @refcount 1 */ 117function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): string {} 118 119function mb_strwidth(string $string, ?string $encoding = null): int {} 120 121function mb_strimwidth(string $string, int $start, int $width, string $trim_marker = "", ?string $encoding = null): string {} 122 123/** 124 * @return array<int|string, mixed>|string|false 125 * @refcount 1 126 */ 127function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false {} 128 129/** @refcount 1 */ 130function mb_convert_case(string $string, int $mode, ?string $encoding = null): string {} 131 132/** @refcount 1 */ 133function mb_strtoupper(string $string, ?string $encoding = null): string {} 134 135/** @refcount 1 */ 136function mb_strtolower(string $string, ?string $encoding = null): string {} 137 138/** @refcount 1 */ 139function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = false): string|false {} 140 141/** 142 * @return array<int, string> 143 */ 144function mb_list_encodings(): array {} 145 146/** 147 * @return array<int, string> 148 * @refcount 1 149 */ 150function mb_encoding_aliases(string $encoding): array {} 151 152/** @refcount 1 */ 153function mb_encode_mimeheader(string $string, ?string $charset = null, ?string $transfer_encoding = null, string $newline = "\r\n", int $indent = 0): string {} 154 155/** @refcount 1 */ 156function mb_decode_mimeheader(string $string): string {} 157 158/** @refcount 1 */ 159function mb_convert_kana(string $string, string $mode = "KV", ?string $encoding = null): string {} 160 161/** @refcount 1 */ 162function mb_convert_variables(string $to_encoding, array|string $from_encoding, mixed &$var, mixed &...$vars): string|false {} 163 164/** @refcount 1 */ 165function mb_encode_numericentity(string $string, array $map, ?string $encoding = null, bool $hex = false): string {} 166 167/** @refcount 1 */ 168function mb_decode_numericentity(string $string, array $map, ?string $encoding = null): string {} 169 170function mb_send_mail(string $to, string $subject, string $message, array|string $additional_headers = [], ?string $additional_params = null): bool {} 171 172/** 173 * @return array<int|string, int|string|array>|string|int|false|null 174 * @refcount 1 175 */ 176function mb_get_info(string $type = "all"): array|string|int|false|null {} 177 178function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} 179 180function mb_scrub(string $string, ?string $encoding = null): string {} 181 182function mb_ord(string $string, ?string $encoding = null): int|false {} 183 184function mb_chr(int $codepoint, ?string $encoding = null): string|false {} 185 186function mb_str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string {} 187 188#ifdef HAVE_MBREGEX 189/** @refcount 1 */ 190function mb_regex_encoding(?string $encoding = null): string|bool {} 191 192/** @param array $matches */ 193function mb_ereg(string $pattern, string $string, &$matches = null): bool {} 194 195/** @param array $matches */ 196function mb_eregi(string $pattern, string $string, &$matches = null): bool {} 197 198/** @refcount 1 */ 199function mb_ereg_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} 200 201/** @refcount 1 */ 202function mb_eregi_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} 203 204/** @refcount 1 */ 205function mb_ereg_replace_callback(string $pattern, callable $callback, string $string, ?string $options = null): string|false|null {} 206 207/** 208 * @return array<int, string>|false 209 * @refcount 1 210 */ 211function mb_split(string $pattern, string $string, int $limit = -1): array|false {} 212 213function mb_ereg_match(string $pattern, string $string, ?string $options = null): bool {} 214 215function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {} 216 217/** 218 * @return array<int, int>|false 219 * @refcount 1 220 */ 221function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {} 222 223/** 224 * @return array<int|string, string|false>|false 225 * @refcount 1 226 */ 227function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {} 228 229function mb_ereg_search_init(string $string, ?string $pattern = null, ?string $options = null): bool {} 230 231/** 232 * @return array<int|string, string|false>|false 233 * @refcount 1 234 */ 235function mb_ereg_search_getregs(): array|false {} 236 237function mb_ereg_search_getpos(): int {} 238 239function mb_ereg_search_setpos(int $offset): bool {} 240 241/** @refcount 1 */ 242function mb_regex_set_options(?string $options = null): string {} 243#endif 244