【发布时间】:2010-09-06 13:52:28
【问题描述】:
Eclipse 和 NetBeans 都会抛出有关使用匿名函数的错误。 NetBeans 中的错误是 The language feature not compatible with PHP version indicated in project settings
代码有效,但 IDE 似乎不喜欢它。
我应该担心吗?
【问题讨论】:
标签: php eclipse netbeans anonymous-function
Eclipse 和 NetBeans 都会抛出有关使用匿名函数的错误。 NetBeans 中的错误是 The language feature not compatible with PHP version indicated in project settings
代码有效,但 IDE 似乎不喜欢它。
我应该担心吗?
【问题讨论】:
标签: php eclipse netbeans anonymous-function
NetBeans:在项目设置中,将 PHP 版本设置为 5.3
【讨论】:
Eclipse 也是如此。在 Project Properties 中,将 PHP Interpreter 设置为 5.3。
另见
【讨论】: