PHP 5.5 syntax highlighting for Vim

Josh Sherman
1 min read
Software Development PHP Vim / Neovim
WARNING: The following post talks about a PHP version that is at end of life. It's highly recommended that you upgrade to a newer PHP version.

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 https://github.com/joshtronic/php.vim

Oh, and Happy New Year!!

Join the Conversation

Good stuff? Want more?

Weekly emails about technology, development, and sometimes sauerkraut.

100% Fresh, Grade A Content, Never Spam.

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.

Currently Reading

Parasie Eve

Previous Reads

Buy Me a Coffee Become a Sponsor

Related Articles