Re: [Zend Engine 2] Re: [PHP-DEV] [patch] __string() method
| From: | Moriyoshi Koizumi | Date: | Wed, 03 Sep 2003 18:51:45 +0000 |
| Subject: | Re: [Zend Engine 2] Re: [PHP-DEV] [patch] __string() method | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4368@lists.php.net to get a copy of this message | ||
marcus.boerger@t-online.de (Marcus Börger) wrote:
> > BTW, how about allowing zend_object_cast() to return a boolean value and
> > decide whether to use the default casting behaviour or the modified
> > one, Marcus? This seems to reduce such redundant effort.
>
> I did that in my patch so you can decide whether or not you want to support
> the requested cast operation and fall back to the default if not (or call
> the inherited one if any exists). But i'm still waiting for Zeev to comment
> on that little change. Zeev ?
The patch is somewhat too big to demonstrate this, so it may be better to
separate it into several essential parts. Indeed I've overlooked it :)
Moriyoshi