& OOP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Adrianc333
Forum Newbie
Posts: 14
Joined: Sat Feb 17, 2007 5:44 am
Location: South Yorkshire, UK

& OOP

Post 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
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Re: & OOP

Post by Oren »

Adrianc333 wrote:Does it make the function/class public?
No. See: http://us2.php.net/manual/en/language.references.php
Adrianc333
Forum Newbie
Posts: 14
Joined: Sat Feb 17, 2007 5:44 am
Location: South Yorkshire, UK

Post by Adrianc333 »

Thanks Oren.

I'll have a read through that :)
Post Reply