preg_split()
function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false
Splits a string by a regular expression.
Parameters:
$pattern(string)$subject(string)$limit(int), default-1, optional$flags(int), default0, optional
Returns: array|false
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how preg_split is implemented in the compiler, see the internals page.