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

From: Date: Mon, 01 Dec 2003 16:00:04 +0000
Subject: Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-5890@lists.php.net to get a copy of this message
On Mon, 1 Dec 2003, Stanislav Malyshev wrote: > AMT>> I *don't* think it's realisitic to make a person explictly cast > AMT>> $item->title to a string here. That's not SimpleXML, that's > > If it's not a string - definitely it does. > > AMT>> ConfusingXML, particularly when this works perfectly fine: > > If you find it confusing - change API of SimpleXML so that it would make > $item->title a string. If you put object in something, why don't you > expect it be an object? Why it should instantly become string? To make it simple to use? I agree with Adam here, with the new overloaded objects you can finally do nice things, just like this here. Don't destroy the coolness of this... Derick

« previous php.internals (#5890) next »