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

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

问题描述

我最近将Netbeans更新到7.4版本,但实际上我遇到了很多错误":短php标记中包含的所有代码均未解析,并且几乎像注释一样(我想).

有人知道如何解决这个问题吗?

谢谢

解决方案

  1. Ctrl-1 打开您的 Project 窗口
  2. 在您的项目
  3. 右键,然后在属性
  4. 单击
  5. 启用允许短标签(<?)
  6. 确定

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
  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天全站免登陆