I don't seem to get any consistent information about this. It seems that different sources talk about different things, and the venerable php.net itself (explicitly) does not indicate this explicitly, although, I must admit, I just looked quickly.
In those cases when I pass "heavy" objects, I need to follow the link, but I do not want to write:
function foo(TypeName& $obj)
if i can leave just
function foo(TypeName $obj)
So what does the standard say?
php
morpheous Apr 26 '10 at 16:17 2010-04-26 16:17
source share