Re: Docgen and PHP 5
| From: | Andrei Zmievski | Date: | Fri, 29 Apr 2005 21:02:43 +0000 |
| Subject: | Re: Docgen and PHP 5 | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1418@lists.php.net to get a copy of this message | ||
On Apr 29, 2005, at 10:34 AM, Scott Mattocks wrote:
I got to thinking about the docgen script and how it works and I think we can make things work a little more cleanly now that we have PHP 5. I know that Christian has put a lot of work into updating the current system but PHP 5 has the Reflection API that can get us pretty much all of the info that we need (along with some PHP-GTK 2 methods). It will be nicer to not have to parse the sources and overrides.It's a good idea, but how will you get the parameter types? They are only available if explicitly specified in the C code, and it's a bit unwieldy to add ZEND_ARG_INFO() structure for every method in there.
Aside from Reflection, the new SimpleXML features should make merging the docs much easier. Any thoughts?Sure. SimpleXML is cool. -Andrei