-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
phpstan/phpstan-src
#4178Labels
Milestone
Description
Bug report
I get unexpected errors for version_compare().
Code snippet that reproduces the problem
https://phpstan.org/r/e09f4ab5-16fa-4be9-a613-1e604986e2bf
Expected output
No errors expected.
- Param 3 can be
null - result can be
nullfor php < 8 when the operator does not exist: https://3v4l.org/3TXPC
Reactions are currently unavailable