Hi!

1) At call time, nothing significes what is the caller passing, the syntax is the same for passing reference or passing value, so it's prone

There's no such thing as "passing reference or passing value". Same thing is always passed - zval. Only thing changing is does the function intend to modify it. That depends on function semantics.

I'd rather all those be explicit( require pass/return by val, require pass/return by refr: "&", accepts both "&?"), and the strict cases throw errors when the contract is not met at both sides.

Believe me, you not, unless you want to turn PHP into C.
--
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

Reply via email to