You are here: Re: =& when creating new object « PHP Programming Language « IT news, forums, messages
Re: =& when creating new object

Posted by gosha bine on 09/24/07 23:00

Michael Fesser wrote:
> .oO(gosha bine)
>
>> Joe wrote:
>>> I'm still unsure of cases where I should use & and where I should not,
>> That's simple. As a rule of thumb, you should not.
>> Every time you're using & (in php5), you must be doing something wrong.
>
> No! References have their uses, even in PHP5. You don't need them for
> objects anymore, but in many other cases they can still be necessary.
>

I can't think of any situation where references would be necessary or at
least useful. Would you care to provide some examples?


--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok

 

Navigation:

[Reply to this 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

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