Netbeans 7.4 doesn't recognise PHP short tag

旧时模样 提交于 2019-11-30 16:24:37

问题


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


回答1:


  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




回答2:


Maybe you want to uncheck this option.

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

Settings ScreenShot



来源:https://stackoverflow.com/questions/20741108/netbeans-7-4-doesnt-recognise-php-short-tag

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!