Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TheFriendlyHacker's avatar

Sublime Linter for PHP 7

Is there a version of SublimeLinter that supports PHP 7? I can't seem to find one, and I'm constantly getting flagged for syntax errors when using the new PHP 7 syntax..

0 likes
2 replies
ohffs's avatar
ohffs
Best Answer
Level 50

I think the linter just runs 'php -l' - are you sure your sublime is pointing to a php7 binary?

TheFriendlyHacker's avatar

That explains a lot haha. I just update PHP on my mac, and everything's working now :)

Please or to participate in this conversation.