[support] PHP 5.3 upgrade problems

andy baxter andy at earthsong.free-online.co.uk
Thu Oct 15 18:32:21 UTC 2009


Pierre Rineau wrote:
> It depends on the parameter type.
>
> If your parameter is a primitive type (int, string, float, bool) or an
> array, value will be used (this will be a local variable into your
> function), but if you pass a class (stdClass or any other) then it will
> be a reference, whether you wrote the & or not.
>   
This is what I was thinking it might be. I've programmed in other 
languages before but not PHP, and I didn't know how PHP deals with 
things like this.

Thanks,

andy


More information about the support mailing list