Reply to Re: caller has no way knowing whether the function will modify the argument?
Posted by NC on 09/27/07 07:35
On Sep 26, 7:13 pm, Summercool <Summercooln...@gmail.com> wrote:
>
> Is it true that the caller has no way to know whether the function it
> is calling uses
>
> function foo($a)
>
> or
>
> function foo(&$a)
>
> so the caller never knows whether it is "pass by value" or "pass by
> reference" and so won't know whether the argument can be modified or
> not?