Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

From: Date: Thu, 04 Dec 2003 09:25:44 +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-6186@lists.php.net to get a copy of this message
Hello Andrei, Thursday, December 4, 2003, 1:18:50 AM, you wrote: > On Mon, 01 Dec 2003, Marcus Boerger wrote: >> No, when the object does not offer a valid string conversion nothing will >> change compared to what we had before. So the only thing done is that you >> now can implement objects that can be used as strings like simplexml_element. >> An extension like that cannot be programmed so elegant than without havin it. >> Besides that we convert all other types automatially whereever we are and > Uh, but that's where you are wrong. We don't convert all types > automatically, but only the simple (scalar) types. Objects, arrays, and > resources are a different matter. And now we don't do this either - we only do it for objects if an object wants to be converted, like a SimpleXML_element object. -- Best regards, Marcus mailto:helly@php.net

« previous php.internals (#6186) next »