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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to