Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17144 invoked from network); 29 Jun 2003 19:15:41 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 29 Jun 2003 19:15:41 -0000 Received: from ip-66-80-117-254.nyc.megapath.net ([66.80.117.254] helo=maya.local.) by longsword.omniti.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.14) id 19Whep-0008Bl-HE for internals@lists.php.net; Sun, 29 Jun 2003 15:16:15 -0400 Date: Sun, 29 Jun 2003 15:18:34 -0400 Mime-Version: 1.0 (Apple Message framework v543) Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: <79FAA76A-AA66-11D7-8C6F-000393B2B3C0@omniti.com> X-Mailer: Apple Mail (2.543) Subject: Reflection API From: george@omniti.com (George Schlossnagle) Here is a first implementation of the reflection api, for functions (class PHP_Function in you diagram) http://www.schlossnagle.org/~george/php/reflection.diff http://www.schlossnagle.org/~george/php/zend_reflection_api.c http://www.schlossnagle.org/~george/php/zend_reflection_api.h Comments? Thoughts? George On Wednesday, June 18, 2003, at 12:53 PM, Sebastian Bergmann wrote: > Sebastian Bergmann wrote: >> http://www.sebastian-bergmann.de/stuff/reflection.png > > I refactored it a bit: > > http://www.sebastian-bergmann.de/stuff/reflection-update.png > > IMHO it is essential that PHP_Field and PHP_Method implement a > common interface (like their counterparts from java.lang.reflect do) > to ease iterating through a class's members, for instance. > > -- > Sebastian Bergmann > http://sebastian-bergmann.de/ > http://phpOpenTracker.de/ > > http://www.professionelle-softwareentwicklung-mit-php5.de/ > > -- > PHP 5 Development Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- George Schlossnagle -- Principal Consultant -- OmniTI Computer Consulting, Inc. -- +1.410.872.4910 x202 -- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0