Re: Reflection API RFC

From: Date: Sat, 29 Mar 2003 21:34:28 +0000
Subject: Re: Reflection API RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-486@lists.php.net to get a copy of this message
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

« previous php.internals (#486) next »