[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] PHP editor doesn't validate if no closing PHP tag "?>"

Hi. If you have a "pure" php file, my understanding is that the closing "?>" tag is optional. However, if you omit this tag, the PDT PHP editor doesn't seem to detect certain errors.

To see, this, create a PHP file, take out the closing "?>" tag, and delete the closing curly brace. The project explorer will show an error "label decoration" but the editor doesn't show any error. If you add the "?>" back, the editor now shows the problem.

Is this a bug? Thanks. Mark