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.
I've already expressed my opinion in a previous message, but however this discussion turns out, we should definitely be consistent. If this patch is reverted, then we need to go alter convert_to_string_ex() not to convert an object to a string.
Right. I didn't realize this was happening.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php