PHP heredoc use breaking syntax...

User 2493323 Photo


Registered User
1 post

Hi,

Just wanted to know if anyone has a method for fixing the syntax highlighter when PHP heredoc notation is used?

Nothing critical but it would help the lesser able among us here to better understand the code.
User 464893 Photo


Ambassador
1,611 posts

I guess if you do a lot of server side scripting heredoc notation simplifies somewhat but I have found that escaping in and out of the html is OK for small requirements.
I use the editor as a php ide but for purely php I do use a proper ide. The Crimson editor may have the right syntax highlighting available or I believe you can create your own syntax highlighter file for it.

So many tools you cannot use them all.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.