How can I generate skeleton classes from PHP extension for code completion in IDE?

Several years ago, I found a simple script somewhere that was able to generate skeletons for classes, functions and constants from some extension. I think he used Reflection. I don't remember, but I think this script was on the zend.com website or in the PDT sources somewhere.

The generator should be able to generate skeletons from any classes defined in PHP (both from code written in PHP and from C / C ++ code from PHP extensions). PHP Reflection is capable of handling these cases.

The generated code looks like this:

class foo {
    public function bar($arg1, $arg2) {}
}

      

The body of all methods is empty, but useful for code completion in the IDE.

Can you help me find a tool with such features?

+3
php php-extension


source to share


No one has answered this question yet

Check out similar questions:

2776
How can I prevent SQL injection in PHP?
1065
Link. What does this error mean in PHP?
691
How to get (extract) file extension in PHP?
635
How can I pass variables and data from PHP to JavaScript?
348
How do I get a file extension in PHP?
272
Best practices for validating protected methods with PHPUnit
eleven
how to dynamically check the number of function arguments in php
2
How can I execute casperjs from php?
0
Modifying (creating a PHP extension) Makefile to include classes and C ++ code
0
How to reach "globals" from within a class in PHP



All Articles
Loading...
X
Show
Funny
Dev
Pics