On 30.08.2007 23:27, Stanislav Malyshev wrote: >> 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?
The method call doesn't work in this case, it fails with fatal error, just try the example I posted. Everything else is just fine, yeah.. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php