function Preg::isMatchAllStrictGroups
Variant of `isMatchAll()` which outputs non-null matches (or throws)
@param-out array<int|string, list<string>> $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::isMatchAllStrictGroups()
- GitDownloader::getUnpushedChanges in vendor/
composer/ composer/ src/ Composer/ Downloader/ GitDownloader.php - Checks for unpushed changes to a current branch
File
-
vendor/
composer/ pcre/ src/ Preg.php, line 342
Class
Namespace
Composer\PcreCode
public static function isMatchAllStrictGroups(string $pattern, string $subject, ?array &$matches = null, int $flags = 0, int $offset = 0) : bool {
return (bool) self::matchAllStrictGroups($pattern, $subject, $matches, $flags, $offset);
}