PHP 5.5 syntax highlighting for Vim

Now that I’m using PHP 5.5 I’m finding that my Vim syntax highlighting is a bit off. After some digging around I found a syntax file that was updated to PHP 5.5 RC1 but hasn’t been updated since. In true hacker fashion I went ahead and forked the project and updated it against PHP 5.5.7, added some modules and will be actively updating the syntax as I run into things that aren’t highlighting correctly (just noticed that finally needs added) and attempting to keep it updated to the latest version of PHP that I’m using.

That all being said, if you’re looking for a PHP 5.5 syntax file for Vim please check out

Oh, and Happy New Year!!

Josh Sherman - The Man, The Myth, The Avatar

About Josh

Husband. Father. Pug dad. Musician. Founder of Holiday API, Head of Engineering and Emoji Specialist at Mailshake, and author of the best damn Lorem Ipsum Library for PHP.

If you found this article helpful, please consider buying me a coffee.