Lines Matching refs:flagsByPhpVersions
1426 $flagsByPhpVersions = $this->getArginfoFlagsByPhpVersions();
1458 … " . $this->name->methodName . ", $argInfoName, " . implode("|", reset($flagsByPhpVersions)) . ")";
1474 if ($isVanillaEntry && reset($flagsByPhpVersions) === ["0"]) {
1489 $php84AndAboveFlags = array_slice($flagsByPhpVersions, 5, null, true);
1506 $flags = array_slice($flagsByPhpVersions, 0, 4, true);
5470 function generateVersionDependentFlagCode(string $codeTemplate, array $flagsByPhpVersions, ?int $ph… argument
5478 if (empty($flagsByPhpVersions[$currentPhpVersion])) {
5482 return [sprintf($codeTemplate, implode("|", $flagsByPhpVersions[$currentPhpVersion]))];
5486 ksort($flagsByPhpVersions);
5487 $index = array_search($phpVersionIdMinimumCompatibility, array_keys($flagsByPhpVersions));
5491 $flagsByPhpVersions = array_slice($flagsByPhpVersions, $index, null, true);
5494 $flagsByPhpVersions = array_filter(
5495 $flagsByPhpVersions,
5501 if (empty($flagsByPhpVersions)) {
5507 foreach ($flagsByPhpVersions as $versionId => $versionFlags) {
5508 … if ($previousVersionId !== null && $flagsByPhpVersions[$previousVersionId] === $versionFlags) {
5509 unset($flagsByPhpVersions[$versionId]);
5515 $flagCount = count($flagsByPhpVersions);
5519 reset($flagsByPhpVersions);
5520 $firstVersion = key($flagsByPhpVersions);
5522 return [sprintf($codeTemplate, implode("|", reset($flagsByPhpVersions)))];
5529 foreach (array_reverse($flagsByPhpVersions, true) as $version => $versionFlags) {