Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28071 invoked from network); 29 Mar 2003 21:35:13 -0000 Received: from unknown (HELO localhost.localdomain) (24.60.174.190) by pb1.pair.com with SMTP; 29 Mar 2003 21:35:13 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h2TLYTM28630; Sat, 29 Mar 2003 16:34:29 -0500 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Sat, 29 Mar 2003 16:34:28 -0500 To: Timm Friebe Cc: PHP Internals Message-ID: <20030329213428.GA28595@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , Timm Friebe , PHP Internals References: <20030329203729.GG23063@hyperion.gravitonic.com> <1048973280.25691.719.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1048973280.25691.719.camel@localhost> User-Agent: Mutt/1.4i Subject: Re: [PHP-DEV] Reflection API RFC From: andrei@gravitonic.com (Andrei Zmievski) On Sat, 29 Mar 2003, Timm Friebe wrote: > > I have the first draft of PHP 5 reflection API ready. You can find it > > at: > > > > http://www.gravitonic.com/software/php/reflection.txt > > > > Comments and suggestions are appreciated. > > * ClassType::getMethods([int flags]); > > I assume flags is a bitfield of private, public, protected, final > and so on, defaulting to all of them? Something like that. I haven't finalized what kind of method searching will be available. Perhaps one of the flags will be REGEXP with a optional argument specifying the regexp to match method name against. -Andrei http://www.gravitonic.com/ "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth