Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Mon, 01 Dec 2003 21:47:06 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5951@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Monday, December 1, 2003, 5:55:40 PM, you wrote:
MB>>> If you don't understand XML then it is harder to understand. If you
> Well, let's suppose I do understand XML for some measure.
hehe, good :-)
MB>>> you are now basically forced to do fucking code like DOM - thanks -
MB>>> no more simple.
> Making particular case of XML handling simple is good if it doesn't make
> other things harder. I believe the simplification of DOM can be made
> without making all objects magically convert themselves to strings.
The solution to this would be another object handler, say make_printable() and
move the __toString() Call from the cast_object handler into this new one
AND partly reintroduce my patch and voila all are happy?
Maybe this is a really cool idea because it allows all kinds of 'cool'
objects to be written in C, it allows all kinds of language bindings but
without the HIGH __toString() WTF factor (minimal compareable to C++
autoconversion problems for example).
--
Best regards,
Marcus mailto:helly@php.net