Re: [Zend Engine 2] More work on reflection API
| From: | Timm Friebe | Date: | Tue, 01 Jul 2003 22:23:50 +0000 |
| Subject: | Re: [Zend Engine 2] More work on reflection API | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3125@lists.php.net to get a copy of this message | ||
On Tue, 2003-07-01 at 23:36, George Schlossnagle wrote:
> Csn you make your diff of current cvs? I committed a good bit of your
> previous patch.
Yup, you'll find it attached.
> I don't know if i dig the way you implemented reflection_method. I
> have some partially complete work that handles this in a manner more
> consistent with the rest of the code.
? I simply copied your idea with the _factory method an intern->ptr
pointing to the class entry|the function pointer...
[...]
> > TBDiscussed: Would something like
> > $modifiers= array('public', 'static')
> > be cooler? Currently, one would be checking with
> > $modifiers & STATIC
> > etc.
>
> or
>
> array('public' => 1, 'static' => 1)
Seems like a better solution (more user-friendly) - I've implemented
this.
> The bitmask is pretty cryptic. Besides STATIC is a keyword.
You're right:)
- Timm
Attachment: [text/x-patch] zend_reflection_api.c.diff.2
Attachment: [text/x-patch] zend_reflection_api.c.diff.2