-
-
Notifications
You must be signed in to change notification settings - Fork 947
sscanf array bug #7764
Copy link
Copy link
Closed
phpstan/phpstan-src
#1576Description
PHPStan seems to assume that sscanf() returns an array of size 1.
Since PHPStan 1.7.15 (no problem with 1.7.14). Could be due to phpstan/phpstan-src#1434
Code snippet that reproduces the problem
https://phpstan.org/r/99167899-8984-4874-b79d-8834ff508aa9
Running that code in PHP returns:
Success
Array
(
[0] => hello
[1] => world
[2] =>
)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
