Netbeans 7.4 无法识别 PHP 短标签 [英] Netbeans 7.4 doesn't recognise PHP short tag

查看:29
本文介绍了Netbeans 7.4 无法识别 PHP 短标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将 Netbeans 更新到 7.4 版本,实际上我遇到了很多错误":包含在短 php 标记中的所有代码都没有被解析,并且几乎被认为是注释(我猜).

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).

有人知道怎么解决吗?

谢谢

推荐答案

  1. Ctrl-1 打开您的项目窗口
  2. 右键点击您的项目,然后点击属性
  3. 启用允许短标签(
  4. 确定
  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

这篇关于Netbeans 7.4 无法识别 PHP 短标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆