Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 codeIgniter,当我使用 PHP function 时array_map,它显示语法错误,但代码运行正常。是array_map不推荐使用的功能吗?
array_map
为什么会这样?
我应该避免使用array_map吗?提前致谢。
正如 Explosion Pills 在他的评论中提到的那样
您只能在 PHP 5.3+ 中定义类似的函数。
所以你应该在 Eclipse 中更新你的 PHP 解释器。要做到这一点,这里有一个可以帮助你的帖子。 Eclipse 的 PHP 解释器。