Yuri
Yuri

Reputation: 3284

Netbeans 7.4 doesn't recognise PHP short tag

I recently updated Netbeans to 7.4 version and I actually get plenty of "errors": all the code included in short php tag is not parsed and considered almost like comment (I guess).

Does anyone knows how to fix that?

thanks

Upvotes: 27

Views: 15134

Answers (2)

高科技黑手
高科技黑手

Reputation: 1262

  1. Ctrl-1 to open your Project window
  2. Right-click on your project and click on Properties
  3. Enable Allow short tags (<?)
  4. Press Ok

Click on Allow short tags (<?)

Upvotes: 80

Hurkan
Hurkan

Reputation: 23

Maybe you want to uncheck this option.

Option >> Editor >> Uncheck Giving Space After Short Php Tag

Settings ScreenShot

Upvotes: 0

Related Questions