|
7 | 7 | * @var string |
8 | 8 | * @cvalue php_mb_oniguruma_version |
9 | 9 | */ |
| 10 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
10 | 11 | const MB_ONIGURUMA_VERSION = UNKNOWN; |
11 | 12 | #endif |
12 | 13 |
|
@@ -197,57 +198,73 @@ function mb_str_pad(string $string, int $length, string $pad_string = " ", int $ |
197 | 198 |
|
198 | 199 | #ifdef HAVE_MBREGEX |
199 | 200 | /** @refcount 1 */ |
| 201 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
200 | 202 | function mb_regex_encoding(?string $encoding = null): string|bool {} |
201 | 203 |
|
202 | 204 | /** @param array $matches */ |
| 205 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
203 | 206 | function mb_ereg(string $pattern, string $string, &$matches = null): bool {} |
204 | 207 |
|
205 | 208 | /** @param array $matches */ |
| 209 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
206 | 210 | function mb_eregi(string $pattern, string $string, &$matches = null): bool {} |
207 | 211 |
|
208 | 212 | /** @refcount 1 */ |
| 213 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
209 | 214 | function mb_ereg_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} |
210 | 215 |
|
211 | 216 | /** @refcount 1 */ |
| 217 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
212 | 218 | function mb_eregi_replace(string $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} |
213 | 219 |
|
214 | 220 | /** @refcount 1 */ |
| 221 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
215 | 222 | function mb_ereg_replace_callback(string $pattern, callable $callback, string $string, ?string $options = null): string|false|null {} |
216 | 223 |
|
217 | 224 | /** |
218 | 225 | * @return array<int, string>|false |
219 | 226 | * @refcount 1 |
220 | 227 | */ |
| 228 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
221 | 229 | function mb_split(string $pattern, string $string, int $limit = -1): array|false {} |
222 | 230 |
|
| 231 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
223 | 232 | function mb_ereg_match(string $pattern, string $string, ?string $options = null): bool {} |
224 | 233 |
|
| 234 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
225 | 235 | function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {} |
226 | 236 |
|
227 | 237 | /** |
228 | 238 | * @return array<int, int>|false |
229 | 239 | * @refcount 1 |
230 | 240 | */ |
| 241 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
231 | 242 | function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {} |
232 | 243 |
|
233 | 244 | /** |
234 | 245 | * @return array<int|string, string|false>|false |
235 | 246 | * @refcount 1 |
236 | 247 | */ |
| 248 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
237 | 249 | function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {} |
238 | 250 |
|
| 251 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
239 | 252 | function mb_ereg_search_init(string $string, ?string $pattern = null, ?string $options = null): bool {} |
240 | 253 |
|
241 | 254 | /** |
242 | 255 | * @return array<int|string, string|false>|false |
243 | 256 | * @refcount 1 |
244 | 257 | */ |
| 258 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
245 | 259 | function mb_ereg_search_getregs(): array|false {} |
246 | 260 |
|
| 261 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
247 | 262 | function mb_ereg_search_getpos(): int {} |
248 | 263 |
|
| 264 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
249 | 265 | function mb_ereg_search_setpos(int $offset): bool {} |
250 | 266 |
|
251 | 267 | /** @refcount 1 */ |
| 268 | +#[\Deprecated(since: '8.6', message: "mbregex support end PHP 9.0")] |
252 | 269 | function mb_regex_set_options(?string $options = null): string {} |
253 | 270 | #endif |
0 commit comments