Netbeans 7.4 doesn't recognise PHP short tag

2019-02-11 12:21发布

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

2条回答
做自己的国王
2楼-- · 2019-02-11 12:50
  1. Ctrl-1 to open your Project window
  2. Right-click on your project and click on Properties
  3. Enable Allow short tags (<?)

Click on Allow short tags (<?)

查看更多
贪生不怕死
3楼-- · 2019-02-11 12:56

Maybe you want to uncheck this option.

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

Settings ScreenShot

查看更多
登录 后发表回答