Zend Studio 9 中没有 PHP 函数类型等
我计划迁移到 Zend Studio 9 并安装与版本 8 并行的试用版。 现在我加载了旧的工作区,而我的 Zend Framework 项目对 php 一无所知。
例如,如果我尝试扩展异常,它会说:“无法从接口异常扩展”。 或者“file_get_contents”以:“调用未定义的函数”结尾。
所以看起来没有加载 PHP 定义,但是我该如何改变它呢?在 Zend Studio 8 中它仍然有效。
I'm planning to move to Zend Studio 9 and installed the trial version parallel to my Version 8.
Now I loaded my old Workspace and my Zend Framework project didn't know anything about php.
For example if I try to extend an exception, it says: "Cannot extend from interface exception".
Or 'file_get_contents' ends in: 'Call of undefined function.
So it seems no PHP definitions are loaded but how can I change that? In the Zend Studio 8 it still works.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我做了同样的事情,将工作空间从 Zend Studios 8 转移到 Zend Studio 9。
它在 Ubuntu 上运行良好,但在 Windows 7 上不起作用...
无论如何,我强烈建议从一个新的工作区开始,而不是从 Zend Studios 8 引入旧设置。
I did the same, transfer workspace from Zend Studios 8 to Zend Studio 9.
It worked fine on Ubuntu but it did not work Windows 7...
Anyway I highly recommend to start with a fresh workspace, to not bring over old settings from Zend Studios 8.
查看您的 .project 文件。有没有
专区啊如果没有添加它。
look into your .project file. Did you have a
section. If not add it.
尝试复制 Php 文件夹中的 ZendFramework Files 文件。也可以从 Zend Framework 的 Bin 文件夹复制 2 个文件 zf 批处理文件 & zf 脚本文件位于 php 文件夹中。并且还包括 php.ini 文件中的路径。
Try copying files of ZendFramework Files in Php folder.Also From Bin Folder of Zend Framework copy 2 Files zf batch files & zf script file in php folder.And Also include the path in php.ini file.