On Tue, May 4, 2010 at 23:03, Daniel Convissor
<dani...@analysisandsolutions.com> wrote:
> Hi Derick:
>
> On Tue, May 04, 2010 at 06:12:25PM +0100, Derick Rethans wrote:
>>
>> There is still a difference in userland between:
>>
>> function tralala ( $foo );
>>
>> and
>>
>> function tralala ( &$foo );
>>
>> with $foo being fed an object. Objects are passed by a handle, so it
>> looks like a reference.
>
> Yep.  Though this documentation isn't covering userland.
>
>
>> AFAIK the refence bit is not used there in the XML.
>
> It is used, turning the output from $var to &$var.
>
> So would you and the doc team rather I explain in the parameters section
> that the $object parameter gets modified by the operation?  Is there a
> particular term for this?

None of our docs mention this (see intl and mysqli for example).

It is clearly expected behavior and is documented in the oo chapters.

-Hannes

Reply via email to