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
enigma_dev (509)

@adriaangijssen It seems like repl.it never needed the opening tab. But, is that a problem? Absolutely not! But the syntax highlighting thing seems like a bug tho. I am going to report it to a repl.it team member, ok? I would really appreciate if you would mark my answer with the answered batch.