Pretty straight forward question. I'm quite happy with my simple text editor but sometimes it'd be nice to run something like PyFlakes on my code before running to check for any obvious errors like undeclared variables or syntax errors.
+1
A:
just run
php -l filename
:)
duplicate of http://stackoverflow.com/questions/378959/is-there-a-static-code-analyzer-like-lint-for-php-files
Orbit
2010-10-24 14:13:19
Wow, cool! Thanks.
pr1001
2010-10-24 16:35:02