Lines Matching refs:flagsByPhpVersions
1431 $flagsByPhpVersions = $this->getArginfoFlagsByPhpVersions();
1463 … " . $this->name->methodName . ", $argInfoName, " . implode("|", reset($flagsByPhpVersions)) . ")";
1479 if ($isVanillaEntry && reset($flagsByPhpVersions) === ["0"]) {
1494 $php84AndAboveFlags = array_slice($flagsByPhpVersions, 5, null, true);
1511 $flags = array_slice($flagsByPhpVersions, 0, 4, true);
5331 function generateVersionDependentFlagCode(string $codeTemplate, array $flagsByPhpVersions, ?int $ph… argument
5339 if (empty($flagsByPhpVersions[$currentPhpVersion])) {
5343 return [sprintf($codeTemplate, implode("|", $flagsByPhpVersions[$currentPhpVersion]))];
5347 ksort($flagsByPhpVersions);
5348 $index = array_search($phpVersionIdMinimumCompatibility, array_keys($flagsByPhpVersions));
5352 $flagsByPhpVersions = array_slice($flagsByPhpVersions, $index, null, true);
5355 $flagsByPhpVersions = array_filter(
5356 $flagsByPhpVersions,
5362 if (empty($flagsByPhpVersions)) {
5368 foreach ($flagsByPhpVersions as $versionId => $versionFlags) {
5369 … if ($previousVersionId !== null && $flagsByPhpVersions[$previousVersionId] === $versionFlags) {
5370 unset($flagsByPhpVersions[$versionId]);
5376 $flagCount = count($flagsByPhpVersions);
5380 reset($flagsByPhpVersions);
5381 $firstVersion = key($flagsByPhpVersions);
5383 return [sprintf($codeTemplate, implode("|", reset($flagsByPhpVersions)))];
5390 foreach (array_reverse($flagsByPhpVersions, true) as $version => $versionFlags) {