preg_match()
function preg_match(string $pattern, string $subject, array $matches = null): int|false
Performs a regular expression match.
Parameters:
$pattern(string)$subject(string)$matches(array), passed by reference, defaultnull, optional
Returns: int|false
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how preg_match is implemented in the compiler, see the internals page.