Search code examples
phppythonpyflakes

Is there something like PyFlakes for PHP?


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.


Solution

  • Just run this:

     php -l filename