Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using vim on mac (both command line & MacVim) and installed the syntastic plugin for syntax error checking. I'm now using it and its standard php syntax_checker for php coding, but if there's more than one error in the php file, only the first error gets marked with the >>. Also the balloon only appears for the first error. Is there an option one can set to show all errors & warnings in a file?

Thank you!

share|improve this question
I'm afraid that it's the default behavior of $ php -l filename. You may want to take a look around for another linter… – romainl Nov 17 '12 at 19:20

Syntastic supports three different checkers for php;

  1. php itself using the -l option
  2. PHP Mess Detector
  3. PHP_CodeSniffer

Try installing 2 or 3.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.