-
-
Notifications
You must be signed in to change notification settings - Fork 947
Sscanf Array Index #7563
Copy link
Copy link
Closed
phpstan/phpstan-src
#1576Labels
Milestone
Description
Bug report
Sscanf generates a 2-item array, but Phpstan claims that index 1 of the result does not exist.
Code snippet that reproduces the problem
Expected output
Scan should be clean. Phpstan reports "Offset 1 does not exist on array{string}."
Did PHPStan help you today? Did it make you happy in any way?
Yes, I am quite satisfied with it.
Reactions are currently unavailable