Posted by Jon Slaughter on 06/02/07 02:08
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:VYudnfRtMsW7U_3bnZ2dnUVZ_tLinZ2d@comcast.com...
> Jon Slaughter wrote:
>> If I do something like
>>
>> $r = &$something;
>>
>> $r = array();
>>
>> does it refer to $something or does the reference get remove first? if
>> so(which it seems it is) can I for $r always ot point to $something?
>>
>
> The reference is removed first. As in all assignments in PHP, the current
> assignment replaces the previous one.n
>
Ok, its not what I thought then. Not like C/C++ references and unfortunately
doesn't help me with what I wanted to do ;/ Guess I have to not use them in
this case ;/
Thanks,
Jon
[Back to original message]
|