Florian Müller
Florian Müller

Reputation: 7795

PHP IDE compiling code on the fly similar to java

I got a question about the IDEs: With Java, you use Netbeans or Eclipse, which are very great IDEs to code. Now, if I do a misspelling, Eclipse reports it immediately with a red line (for example a function call which was misspelled).

As I know, this works with some sort of dummy-compiling on the fly.

Now, why is there no IDE at all which provides the same stuff for PHP? Just a sort of "on the fly-interpreting" which does not really execute all functions, but it interprets the code. It would sometimes make programming much easier. Is this possible at all? If no, why not?

Thanks for response ;)

Flo

Upvotes: 1

Views: 182

Answers (1)

Daff
Daff

Reputation: 44215

The PDT Development Tools plugin for Eclipse does exactly that. Just tell it where your PHP interpreter sits. And keep in mind that it of course can't catch errors that occur at runtime. So it will only report actual syntax errors.

Upvotes: 2

Related Questions