Advanced
PHP
Q78 / 100
What is a Psalm or PHPStan and how do they differ from PHP's runtime type checks?
Correct! Well done.
Incorrect.
The correct answer is B) Static analysis tools that find type errors, dead code, and logic bugs at analysis time without executing the code
B
Correct Answer
Static analysis tools that find type errors, dead code, and logic bugs at analysis time without executing the code
Explanation
Psalm and PHPStan analyze PHP code statically, catching type mismatches and null pointer bugs that PHP's runtime would only catch when that code path is executed.
Progress
78/100