Syntax highlighting doesn’t work properly in PHP. This issue has been around for as long as I have been using atom.
This isn’t specific to PHP. Atom gives up highlighting once you pass 100 symbols on a single line for performance reasons. If you break up that one gigantic line into multiple lines, it will highlight properly.
I see. That does work but I don’t like that at all. I use softwrap to keep everything in view. Thanks for the useful tip though.