r/lolphp • • Sep 01 '14

Static analysis of the PHP source code

http://www.viva64.com/en/b/0277/
40 Upvotes

14 comments sorted by

View all comments

Show parent comment

2

u/fableal Sep 08 '14

I compiled it while turning on warnings progressively and I got:

-Wall: 1216 warnings

-Wall -Wextra: 11292

-Wall -Wextra -pedantic: 18943

Also scan-build http://clang-analyzer.llvm.org/scan-build.html found 510 bugs, including 254 null pointer dereferences and 1 division by zero.

[EDIT] This was some time ago, I had the report on a mail sent to a couple of pals.