Hi,
as nobody was able to answer my question on IRC,
I just drop it here:
Is it useless (yet even counter-productive) to enable
pass_by_ref in an ARG_INFO section for a function or
method that expects an object?
By "counter-productive" I mean that I'd need to actually
pass an identifier for a variable.
Thanks,
Michael - < mike(@)php.net
Only use references when you need to be able to overwrite the variable.
--Wez.
Hi,
as nobody was able to answer my question on IRC,
I just drop it here:Is it useless (yet even counter-productive) to enable
pass_by_ref in an ARG_INFO section for a function or
method that expects an object?By "counter-productive" I mean that I'd need to actually
pass an identifier for a variable.Thanks,
Michael - < mike(@)php.net
Hi Wez Furlong, you wrote:
Only use references when you need to be able to overwrite the variable.
Ok, and what about return_by_ref?
Thanks,
Michael - < mike(@)php.net