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
- Ctrl-1 to open your Project window
- Right-click on your project and click on Properties
- Enable Allow short tags (<?)
Maybe you want to uncheck this option.
Option >> Editor >> Uncheck Giving Space After Short Php Tag
来源:https://stackoverflow.com/questions/20741108/netbeans-7-4-doesnt-recognise-php-short-tag