Hi!
So, what's the reasoning behind this design decision? Why is it supposed to work like this and not the other way around?
Because when you return something by-value you can not have effects of its modification reflect on the original value. That's how by-value works. When you have by-ref return you can modify it and have the original value change. More here: http://php.net/references
-- Stanislav Malyshev, Zend Software Architect s...@zend.com http://www.zend.com/ (408)253-8829 MSN: s...@zend.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php