Sublime Code Highlighting in PHP doesn't work if no PHP Tags found

Viewed 2195

I am using Sublime and some PHP files have no enclosing PHP Tags. This confuses Sublime, and no code-highlighting happens. Even Setting the syntax to PHP will still show un-highlited code

Problem: Without Tags

enter image description here

Expected: With Tags

enter image description here

Anyone Idea?

3 Answers
Related