Reply to Re: reference assignment

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация