Hi!
I know that we don't like to add new magic methods, but this case seems to require new ones. What's about __getByRef (and its setter equivalent if it is also not supported yet)?
Why would we need that? We already have perfectly good __get, which can perfectly return by-ref. The question is only if we allow override __get that was declared by-val with __get that is declared by-ref. As for __set, __set doesn't return anything at all, so it's not very relevant anyway.
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php