Hi!
I'm not sure to like the idea. I'm not a fan of OO strictness but I'd to agree with Marcus, I do not expect a reference from an overrided
How can you "not expect reference"? I.e. which code that worked previously wouldn't work now?
__get. There is also the problem with internal classes, if I'm not mistaken.
Which problem? Could you elaborate?
I meant set by reference. Is it not the same problem? class foo {function __set($key, &$value) {}} >> fatal error
Ah, I see what you mean. But I'm not sure __set has this semantics now anyway - unless we'd support it with $a->foo =& $bar somehow, but right now we don't.
-- 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