News: 0001607513

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

PHPStan Now 25~40% Faster For Static Analysis

([Programming] 21 Minutes Ago PHPStan 2.1.34)


For those using the powerful PHPStan tool for static analysis on PHP code, this week's PHPStan 2.1.34 is promoting optimized performance with projects seeing around 25% to 40% faster analysis times.

PHPStan 2.1.34 delivers on much greater performance via caching of reflection objects and many raw performance optimizations to the analyzer code. There are dozens of different performance optimizations in this new release for making this static analyzer much faster in trying to catch any issues with PHP code. It's quite a speed-up for saving time on part of developers when looking out for various classes of bugs in large PHP codebases.

In trying out the new release myself, I am seeing the new PHPStan around 30% faster for analyzing than with the previous releases.

For downloads or to learn more about this new PHPStan release with much speedier static analyzer performance, check out the project's [1]GitHub . Those unfamiliar with the PHPStan static analyzer can learn more about it in general at [2]phpstan.org .



[1] https://github.com/phpstan/phpstan/releases/tag/2.1.34

[2] https://phpstan.org/



Very few things happen at the right time, and the rest do not happen
at all. The conscientious historian will correct these defects.
-- Herodotus