php-Eclipse对php中的namespace关键字报语法错误的问题
2015-05-05 12:23
99 查看
namespace是php5.3以上才支持的,
解决办法:升级IDE
切换Eclipse中的php版本
Window > Preferences > PHP > PHP Interpreter > PHP Version > 5.3
![](http://images.cnitblog.com/blog2015/736838/201505/051222226268618.png)
解决办法:升级IDE
切换Eclipse中的php版本
Window > Preferences > PHP > PHP Interpreter > PHP Version > 5.3
![](http://images.cnitblog.com/blog2015/736838/201505/051222226268618.png)
![](file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Application%20Data/YNote/data/leishaojin2012@163.com/19b1dbb33d7b49fda0bfe73b414f603c/clipboard.png)
相关文章推荐
- 因为与关键字冲突而导致的"update语句的语法错误"问题解决方法
- PHP关于syntax error语法错误的问题(Parse error: syntax error, unexpected end of file in xxxxxxxx)
- MSSQL兼容级别问题(关键字‘FOR’附近有语法错误)
- 在Myeclipse中复制一个没有语法错误及其其他错误项目后再粘贴项目到工作区出现的语法报错问题 关键字:java & web project
- shell初级编程问题(一):fi关键字显示红色,运行报语法错误
- Eclipse导入Android项目 Eclipse常见错误 中文乱码问题
- 安装Eclipse ADT插件时遇到的一些问题,错误
- VS2013 CUDA的语法高亮和语法检查错误问题
- 问题: 在eclipse里使用ctr+shift+t打开一个类的时候,出现错误:Class file name must end with .class
- Zabbix的安装与部署---问题处理(php65.6.28 mysqli 报错误 处理)
- PHP错误问题总结
- 记忆碎片---搭建php+apache+eclipse中的问题
- [SQLServer 2000 Driver for JDBC][SQLServer]关键字 'where' 附近有语法错误解决--Hibernate方言
- 关于js语法(运算中出现无限大的问题)本身的错误的解决方案
- 检查php的语法错误
- Android问题集锦之三:location of the android adk has not been setup in the preferences 错误处理(eclipse)
- session为空的怪问题 php验证码错误 tp框架
- 解决Nginx+PHP-FPM出现502(Bad Gateway)错误问题
- 表单提交错误后返回内容消失问题的解决方法(PHP网站)
- 表单提交错误后返回内容消失问题的解决方法(PHP网站)