Re: SimpleXML and Default Cast To String
| From: | Andrei Zmievski | Date: | Tue, 13 Jan 2004 17:32:29 +0000 |
| Subject: | Re: SimpleXML and Default Cast To String | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7057@lists.php.net to get a copy of this message | ||
On Tue, 13 Jan 2004, Marcus Boerger wrote:
> The problem here are virtual properties that are not stored via a hashtable
> in the object. The problem (of course) is that the read (RW) handler creates
> a temp container for the property value. As a consequence the changed value
> needs to be written back using the write handler. To accomplish that we have
> two options:
> a) Chnage the signature of the read handler so it returns whether ot not the
> prop is a virtual prop and use write after the change if so.
> b) Somehow identify the situation and print out a E_ERROR.
Isn't that what Stas's proxy object system was supposed to solve? I've
been trying to get an answer as to whether it works or not for a while
now.
-Andrei
"The day Microsoft makes something that doesn't suck,
is probably the day Microsoft starts making vacuum cleaners."
- Ernst Jan Plugge