问题
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:
- Ctrl-1 to open your Project window
- Right-click on your project and click on Properties
- Enable Allow short tags (<?)
- 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