function Preg::isMatchAll
Variant of matchAll() which returns a bool instead of int
@param-out array<int|string, list<string|null>> $matches
Parameters
non-empty-string $pattern:
array<mixed> $matches Set by method:
int-mask<PREG_UNMATCHED_AS_NULL> $flags PREG_UNMATCHED_AS_NULL is always set, no other flags are supported:
1 call to Preg::isMatchAll()
- JsonManipulator::removeSubNode in vendor/
composer/ composer/ src/ Composer/ Json/ JsonManipulator.php
File
-
vendor/
composer/ pcre/ src/ Preg.php, line 328
Class
Namespace
Composer\PcreCode
public static function isMatchAll(string $pattern, string $subject, ?array &$matches = null, int $flags = 0, int $offset = 0) : bool {
return (bool) static::matchAll($pattern, $subject, $matches, $flags, $offset);
}