Hi,

I just committed an enhancement to pyrus designed for PHP extension
authors (pecl and core), details in this commit:

http://svn.php.net/viewvc/pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php?r1=286823&r2=286822&pathrev=286823

Basically, it's a single command that mirrors ext_skel without some of
the rarely needed junk, and strips doc generation as an option since
that is now done by far better external tools.  The command generates
ZEND_ARG_INFO and understands PHP 6 parameter parsing when passing in
protos for function stub generation.  It also knows about classes, and
automatically generates a stub for any class if the function name is
specified as Classname::funcname in the proto.

This is not intended to be as smart as PECL_Gen, but should be
everything a new extension generation will need for current PHP
developers.  It's also all-PHP and automatically sets up the stuff
needed for package.xml and generates a package.xml, so it can be used
for new PECL extensions.

I point this out because when pyrus has its first alpha (any day(TM)),
it will have this feature, and I'd love for you all to test/break/fix it.

Thanks,
Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to