So PHP 5.4 is released, but when will the interpreter come out for eclipse PDT to support the new syntax of PHP 5.4?
PHP 5.4已经发布了,但是什么时候eclipse PDT的解释器才能支持PHP 5.4的新语法呢?
All I could find on the web so far is an old "Bug Report": https://bugs.eclipse.org/bugs/show_bug.cgi?id=362672. It seems like I can't even sign up there to post a question on its status.
到目前为止,我能在web上找到的只是一个旧的“Bug报告”:https://bugs.eclipse.org/bugs/show_bug.cgi?id=362672。看起来我甚至不能在那里注册来发布关于它的状态的问题。
Is somebody working on it? Is there dev version for it publicly available? How long does it typically take for them to release a new interpreter after a new PHP version comes out?
有人在研究吗?是否有公开的开发版本?在一个新的PHP版本出来之后,通常需要多长时间才能释放一个新的解释器?
The PHP 5.4 syntax has been announced quite some time ago. How come its still not supported in Eclipse (I am not complaining, just want to know where it is hanging)?
PHP 5.4语法早在很久以前就已经发布了。为什么在Eclipse中仍然不支持它(我不是在抱怨,只是想知道它挂在哪里)?
2 个解决方案
#1
6
Yep there is an interpreter for PHP 5.4 although its seems buggy, static function click throughs dont work on my mac eclipse install and on my windows eclipse install no function click throughs work.
是的,有一个PHP 5.4的解释器,虽然它的静态函数点击不能在我的mac eclipse安装上工作,在我的windows eclipse安装上没有函数点击工作。
Give it a try
试一试
In your eclipse go to
在你的eclipse中
Preferences -> PHP -> PHPInterpreter Then select PHP version to PHP 5.4
然后选择PHP版本到PHP 5.4
If it is not available then you will need to update your PDT
如果它不可用,那么您将需要更新您的PDT
help -> Check for updates
帮助->检查更新
I commented on the bug report you mentioned the other day before i realised there is an interpreter so you can sign up and comment your self go to...
我对你前几天提到的bug报告发表了评论,然后我意识到有一个解释器,所以你可以注册并评论你自己去……
https://bugs.eclipse.org/bugs/
https://bugs.eclipse.org/bugs/
Seems to me the interpreter still needs some work though as would be nice to have better code assist with traits.
在我看来,解释器仍然需要一些工作,但是如果有更好的代码辅助特性就更好了。
#2
0
PDT versions >= 3.0.0 all support PHP 5.4, including trait support.
所有版本都支持PHP 5.4,包括特性支持。
The current version, as of writing, is PDT 3.1.0, and 3.1.1 is available from the nightly developer builds update site:
目前的版本是PDT 3.1.0,而3.1.1可以从每晚开发者构建更新站点获得:
- http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly
- http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly
#1
6
Yep there is an interpreter for PHP 5.4 although its seems buggy, static function click throughs dont work on my mac eclipse install and on my windows eclipse install no function click throughs work.
是的,有一个PHP 5.4的解释器,虽然它的静态函数点击不能在我的mac eclipse安装上工作,在我的windows eclipse安装上没有函数点击工作。
Give it a try
试一试
In your eclipse go to
在你的eclipse中
Preferences -> PHP -> PHPInterpreter Then select PHP version to PHP 5.4
然后选择PHP版本到PHP 5.4
If it is not available then you will need to update your PDT
如果它不可用,那么您将需要更新您的PDT
help -> Check for updates
帮助->检查更新
I commented on the bug report you mentioned the other day before i realised there is an interpreter so you can sign up and comment your self go to...
我对你前几天提到的bug报告发表了评论,然后我意识到有一个解释器,所以你可以注册并评论你自己去……
https://bugs.eclipse.org/bugs/
https://bugs.eclipse.org/bugs/
Seems to me the interpreter still needs some work though as would be nice to have better code assist with traits.
在我看来,解释器仍然需要一些工作,但是如果有更好的代码辅助特性就更好了。
#2
0
PDT versions >= 3.0.0 all support PHP 5.4, including trait support.
所有版本都支持PHP 5.4,包括特性支持。
The current version, as of writing, is PDT 3.1.0, and 3.1.1 is available from the nightly developer builds update site:
目前的版本是PDT 3.1.0,而3.1.1可以从每晚开发者构建更新站点获得:
- http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly
- http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly