Reply to Re: =& when creating new object

Your name:

Reply:


Posted by Steve on 09/24/07 20:52

"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?

kind of, but no.

think of it as if you read that example from right to left. that is how most
variable assignments should be read by you when confusion sets in. anyway,
first the object is created by php. then php, through the & instruction,
returns the 'pointer' of where that object is in memory to the variable
getting the assignment.

make sense? right to left.

let me know.

[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

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