What alternatives exist for PHPLint that run under Windows?

I just finished a small 5000-line PHP application and am now going to test and debug it. In the short time to the end, I came across PHPLint. I really liked the idea - with some special comments I can indicate the types of variables, and the tool then checks my code for all kinds of errors. Well maintained. I thought that at the end of development I would comment on my code and run PHPLint.

Unfortunately, I had a small problem - PHPLint is not matched to Windows. Well, it is, but only with Cygwin, and I do not want to install this thing again. I also do not want to get a Linux virtual machine or anything like that. Of course, I will, if there is no other choice, but first I would like to explore other options.

So - are there any alternatives for PHPLint that run under Windows? I mean code verification. I do not need the documentation creation part.

+4
source share
3 answers

Now PHPLint works under Windows. The download page is currently here: http://www.icosaedro.it/phplint/download-windows.html

This is a command line utility, but there is also a small GUI tool that requires a separate download of the Tcl / Tk interpreter from http://www.tcl.tk

+4
source

They do not work exactly like PHPLint, but there are several static analysis tools listed in this post.

+1
source

OK, since there are no good alternatives (these static analysis tools do not check the types of variables, as far as I can tell), I installed the Slackware virtual machine. Clean and do everything. :)

If there are other good alternatives though, feel free to post them here. Despite the fact that I found my solution, others could take advantage of this!

-1
source

All Articles