function Preg::checkSetOrder
2 calls to Preg::checkSetOrder()
- Preg::matchAll in vendor/
composer/ pcre/ src/ Preg.php - @param-out array<int|string, list<string|null>> $matches
- Preg::matchAllWithOffsets in vendor/
composer/ pcre/ src/ Preg.php - Runs preg_match_all with PREG_OFFSET_CAPTURE
File
-
vendor/
composer/ pcre/ src/ Preg.php, line 386
Class
Namespace
Composer\PcreCode
private static function checkSetOrder(int $flags) : void {
if (($flags & PREG_SET_ORDER) !== 0) {
throw new \InvalidArgumentException('PREG_SET_ORDER is not supported as it changes the type of $matches');
}
}