You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Array offset in OR condition can not be resolved. #6379
Activity
phpstan-bot commentedon Apr 2, 2022
@janbarasek After the latest commit in 1.6.x, PHPStan now reports different result with your code snippet:
github-actions commentedon May 4, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
ondrejmirtes commentedon Feb 26, 2026
Reopening, this was not truly fixed. See phpstan/phpstan-src#4399
phpstan-bot commentedon Feb 26, 2026
@janbarasek After the latest push in 2.2.x, PHPStan now reports different result with your code snippet:
Full report
Offset 'c' might not exist on non-empty-array{cr?: string, c?: string}.Apply the falsey isset() narrowing of the left side to the ?? right s…
Apply the falsey isset() narrowing of the left side to the ?? right s…
github-actions commentedon Oct 14, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.