Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Thu, 04 Dec 2003 09:24:17 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6185@lists.php.net to get a copy of this message | ||
Hello Andrei,
Thursday, December 4, 2003, 1:19:44 AM, you wrote:
> On Sun, 30 Nov 2003, Andi Gutmans wrote:
>> I kind of agree with Andrei here. We discussed in the past that
>> __toString() will not propogate to every place in the engine where we check
>> for IS_STRING but will only effect print.
>> I think getting into this is a bad idea. If the old parameter passing API
>> does so maybe that should be fixed.
> The "old" (before Marcus's patch) parameter passing API does *not*
> automatically convert objects to strings.
Sure it only gave you zval*'s or zval**'s but those you could convert with
convert_to_string[_ex](). So at places where you use 's' in the new
parameter parsing it already converted to string with the old one.
Best regards,
Marcus mailto:helly@php.net