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!!

Did you enjoy this post?

Cool if I slip into your inbox with more?
Full posts, 1-2 times per week: