Hello Andi, Monday, December 1, 2003, 5:57:11 PM, you wrote:
> Hey, > I don't quite understand why SimpleXML can't return a string. Why does it > need to return an object? It should know how to differentiate between > read/write mode, and return a string in read mode and a proxy object in > write mode. > What am I missing? > I agree that we should allow for SimpleXML's simplicity and I think it's > one of the coolest features in PHP 5. I definitely want to find a solution > to allow it to work the way it works today. However, I do want to try and > prevent the propogation throughout the engine because it's going to give us > lots of trouble. Hmmm, the minimum needed is to allow: whatever((string)$obj) then. There is simply no other way. -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php