mb_ereg_match() | (string $pattern, string $string, ?string $options = null): bool | bool | ✓ | ✓ |
preg_match() | `(string $pattern, string $subject, array $matches = null): int | false` | `int | false` |
preg_match_all() | `(string $pattern, string $subject, mixed $matches = null, int $flags = 0): int | false` | `int | false` |
preg_replace() | (string $pattern, string $replacement, string $subject): mixed | mixed | ✓ | ✓ |
preg_replace_callback() | (string $pattern, callable $callback, string $subject): mixed | mixed | ✓ | ✓ |
preg_split() | `(string $pattern, string $subject, int $limit = -1, int $flags = 0): array | false` | `array | false` |