Page 1 of 1

& OOP

Posted: Fri Apr 27, 2007 8:25 am
by Adrianc333
Hey,

Can someone please explain why & is used within classes?

Does it make the function/class public?

Any help is appreciated. :)
Thanks, Adrian

Re: & OOP

Posted: Fri Apr 27, 2007 8:29 am
by Oren
Adrianc333 wrote:Does it make the function/class public?
No. See: http://us2.php.net/manual/en/language.references.php

Posted: Fri Apr 27, 2007 8:37 am
by Adrianc333
Thanks Oren.

I'll have a read through that :)