2
votes

Sublime Text 2 had a PHP Syntax Error highlighting mechanism.

But I'm using Sublime Text 3 and I already searched for a PHP Syntax Error highlighter.

SublimeLinter and node.js aren't working.

And the Sublime Text Support had no solution.

I need a Sublime Text 3 Syntax Checker.

2
syntax checker just run php -l file.php. Check you have runnable cli php.vp_arth

2 Answers

5
votes

Using Sublime Linter 3 The biggest change between this and other versions of Sublime Linter is that a new package must be installed for each of the languages that we need to lint.

follow this link: https://scotch.io/tutorials/how-to-catch-your-errors-in-sublime-text-3

3
votes

Sublime text 3 doesn't have built in PHP linting. Use the Sublime Linter plugin and the PHP linter.