PHP opening tag error
adriaangijssen (8)

When I create a PHP script with opening tag, a syntax error pops up:
syntax error, unexpected '<', expecting end of file

When I remove the opening tag (bad programming!), then the script runs fine. But the syntax highlighting don't work. I know the workaround for highlighting: put the opening tag in comments.

I hope this is a bug and will be fixed soon. Is there any more information available?

You are viewing a single comment. View All
Answered by enigma_dev (508) [earned 5 cycles]
View Answer
enigma_dev (508)

@adriaangijssen From what I now, there is a button next to my answer above, which looks like a tick box or a green hook. Click on it and confirm that you want to mark it. See this post for further help:
marking it remarks me with 5 cycles, which is pretty neat. if you want to even give me more upvotes, upvote my answers under this post via the +1 looking like screen