[PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
| From: | Michael Wallner | Date: | Mon, 19 Feb 2007 10:19:10 +0000 |
| Subject: | [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-28067@lists.php.net to get a copy of this message | ||
Hi,
I'd like to suggest a change to how the read_property object handler operates.
Wouldn't it be reasonable for the engine to use get_property_ptr_ptr() whenever
it wants to modify a property and get rid of using read_property() for write
access?
That would make rather simple ops like concatenation, in-/decrementation etc
work again with overloaded internal classes. Just make the engine use
read_property() followed by a write_property() when there's no
get_property_ptr_ptr().
Punish me if I'm really that far off.
Thoughts?
--
Michael