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

Posted by Shelly on 09/24/07 20:53

"Joe" <joe@faceh.com> wrote in message
news:1190666700.795975.303100@r29g2000hsg.googlegroups.com...
> Steve, thats a great explanation, thank you.
>
> I have a question however. The WIKI example I'm looking at calls =&
> new Wakka.... on something that has not been defined yet. It is making
> a reference to something that doesnt exist? isnt it?

No. Wakka has been defined as a class in a file there on the system (and
has been included somewhere). So, the new command creates an instance of
that class and the & points to address of that new instance.

Shelly

 

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

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