Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP 5.4 Interpreter for Eclipse PDT

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?

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.

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?

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)?

like image 263
d_inevitable Avatar asked Mar 07 '12 20:03

d_inevitable


People also ask

Can I code PHP in Eclipse?

The PHP IDE project delivers a PHP Integrated Development Environment framework for the Eclipse platform. This project encompasses the development components necessary to develop PHP-based Web Applications and facilitates extensibility.

What is a PHP interpreter?

A local PHP interpreter is a PHP engine installed on your computer opposite to a remote PHP interpreter that can be installed on a remote host or in a virtual environment set up in a Vagrant instance , see Configure remote PHP interpreters.


1 Answers

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.

Give it a try

In your eclipse go to

Preferences -> PHP -> PHPInterpreter Then select PHP version to PHP 5.4

If it is not available then you will need to update your 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...

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.

like image 181
Chris0 Avatar answered Sep 21 '22 12:09

Chris0