Question

I just upgraded to Eclipse 3.5 PDT, and everytime I type <?, it converts it into <?php ?>. How do I turn that off?

Was it helpful?

Solution

If you want to turn it off, it's under

Preferences -> PHP -> Editor -> Typing -> Close PHP Tag (?>)

It really is a best practice to use full <?php open tags however.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top