|
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.
Navigation:
[Reply to this message]
|