Re: IDE for PHP




Chung Leong wrote:
Gary L. Burnore wrote:
2. If you've defined a class and some methods, when you instantiate
that class, it knows the type of the object, so when you do a

MyClass $obj = new MyClass('arg');
$obj->

it shows the pop-up again with the members and the public interface of
the class MyClass.

Again yes, both do.

Hmmm...how could that be done in PHP, where variables are typeless?


You couldn't do it with 100% accuracy, but if you're advanced enough to
do OOP, then chances are your methods are returning the same type. The
visual studio PHP plugin does this, and it is quite accurate.

If you like visual studio, i suggest getting the VS.php plugin, its
very nice. Provides the same features that are built in for c/c++ in
the msvs ide. It has a few idiosyncracies, but is otherwise very nice.

There is also Eclipse, which provides good PHP support (intellisense,
syntax as you type), too, also through a plugin.

.



Relevant Pages

  • Re: One mans quest for a PHP IDE for Linux.
    ... > rather EXpending) the entire day looking for a PHP IDE for my ... none for the plugin. ... > There's a lovely screen shot on the dbg website of dbg working within ... The PAUSE button wont pause it. ...
    (comp.lang.php)
  • RE: [PHP] most powerful php editor
    ... I don't know what version you are using or what plugin you are using, ... I tried some other PHP plugin for Eclipse, and that one behavied like you ... www.dwsasia.com - company web site ...
    (php.general)
  • Re: "Modular site" mod writers name vars or use ident supplied by app
    ... names, in my plugin registration function, I do allow plugin authors to ... I think I will go with supplying an ident to each module as it registers, using the code from uniqid example: ... You chose the registered name <?php echo ...
    (comp.lang.php)
  • Re: [PHP] email validation string.
    ... I have a regular expression tester plugin in firefox and it validates ... This plugin I was talking about uses PHP/5.2.0 ... PHP uses one of two sets of special characters depending on whether you ... PCRE removes backslashes if they're ...
    (php.general)
  • Re: [PHP] Object to array conversion oddity
    ... class MyClass() ... public function __sleep ... | An application and templating framework for PHP. ... scalable system for accessing system services | ...
    (php.general)