Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:45217 php.pecl.dev:6552 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29594 invoked from network); 5 Aug 2009 03:38:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2009 03:38:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.198.233 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.198.233 rv-out-0506.google.com Received: from [209.85.198.233] ([209.85.198.233:24642] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/F3-11822-ECEF87A4 for ; Tue, 04 Aug 2009 23:38:56 -0400 Received: by rv-out-0506.google.com with SMTP id l9so1332727rvb.23 for ; Tue, 04 Aug 2009 20:38:52 -0700 (PDT) Received: by 10.140.165.21 with SMTP id n21mr33340rve.16.1249443531965; Tue, 04 Aug 2009 20:38:51 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id l31sm2711107rvb.14.2009.08.04.20.38.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 20:38:51 -0700 (PDT) Message-ID: <4A78FEC8.1070409@chiaraquartet.net> Date: Tue, 04 Aug 2009 22:38:48 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: PECL Announce , PHP Developers Mailing List X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ext_skel replacement From: greg@chiaraquartet.net (Greg Beaver) 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