Re: Registering PPP methods
| From: | Timm Friebe | Date: | Fri, 04 Apr 2003 09:26:28 +0000 |
| Subject: | Re: Registering PPP methods | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-659@lists.php.net to get a copy of this message | ||
On Thu, 2003-04-03 at 20:42, Andrei Zmievski wrote:
> Today I ran into a problem because I needed to register an internal
> class that had some protected methods. Currently, the only way to do it
> is by doing a zend_hash_find() on ce->function_table after registration
> and updating fn_flags field manually. We should find an easier way to
> specify fn_flags before registration. What does everyone think of adding
> an extra field to zend_function_entry structure that would contain
> initial flags for the method?
Good idea!
- Timm