Which tool performs static analysis on PHP code to find bugs without running it?
- A PHPUnit
- B PHPStan
- C Composer
- D Xdebug
Answer
PHPStan
PHPStan and Psalm catch type errors and impossible conditions at increasing strictness levels, which is valuable in a dynamically typed language.





