Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What alternatives are there for PHPLint that run under Windows?

I just finished a little 5000-line PHP application and are now going into testing and debugging. A short while before the end I stumbled upon PHPLint. I really liked the idea - with some special comments I can specify variable types and the tool then checks my code for all kinds of mistakes. Neat. I thought that at the end of the development I would comment my code and run PHPLint on it.

Unfortunately I ran into a little problem - PHPLint isn't compilable under Windows. Well, it is, but only with Cygwin, and I don't want to install THAT thing again. Nor do I want to get a virtual machine with Linux or something. Of course, I will, if there will be no other choices, but first I'd like to explore other options.

So - are there any alternatives for PHPLint that run under Windows? I mean in the sense of code-checking. I don't care about the documentation-generation part.

like image 307
Vilx- Avatar asked Jan 18 '09 15:01

Vilx-


1 Answers

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

It's a command-line utility, but there's also a little GUI tool which requires a separate download of the Tcl/Tk interpreter from http://www.tcl.tk

like image 90
Dominic Sayers Avatar answered Sep 28 '22 06:09

Dominic Sayers