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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php