Expected result of this code is: Fatal error: Method test::__set() cannot take arguments by reference in %s on line %d
I'd make it a warning. As far as I can see, declaring __set with references doesn't do anything bad, just reference thing doesn't work (correct me here if I'm wrong). So why should we produce fatal error?
-- 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