Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » No PHP Compile Errors in eclipse PDT
No PHP Compile Errors in eclipse PDT [message #65970] Wed, 13 February 2008 13:17 Go to previous message
Mike Lubbers is currently offline Mike LubbersFriend
Messages: 4
Registered: July 2009
Junior Member
I’m using eclipse PDT for my PHP development because I’m familiar with the
eclipse IDE during my previous projects as a J2EE developer (RAD6 / IBM
Websphere).

One thing I really miss in PHP / Eclipse PDT compared to Java / Eclipse is
the check for compilation errors.

Example: I have a class Tax with a public method calculateTax() and this
class is used in various other classes in my project.
If I change the methodname caculateTax() of class Tax to calculateTaxes()
or change the modifier from public to private the it doesn’t cause any PHP
compile errors in the classes using the Tax class. Only at runtime I will
get a ‘Call to undefined method Tax::calculateTax() in Tax on line xxx’.
Changing the method name or the modifer in a java class will cause compile
errors in all java sourcecode using that class. Is it that Java is
compiled and PHP isn’t ?

Eclipse PDT has code assist capabilities for PHP and I use it every day.
If Code assist is working, it looks to me that it is only a small step to
produce ‘PHP compile errors’ in eclipse PDT.

Does anybody know if there are PHP compiler plugins for eclipse PDT? Are
there other way’s to generate ‘PHP compile errors’? I think this will be a
huge improvement and will speed up development of PHP projects.

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Editor breaks up every now and then
Next Topic:Small code formatting question
Goto Forum:
  


Current Time: Fri Apr 19 23:37:41 GMT 2024

Powered by FUDForum. Page generated in 0.03035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top