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!
With the & you get a reference to the object, without it you get a copy. The question really is, why would you want a copy ? (btw, PHP5 will automatically give you a reference without the & )
Wait a sec, I still don't get it. If I want a new instance of class, why would I want a reference to the class? Unless if you meant by copy, you are saying that PHP creates two copies whenver I use "$c = new classC();", one which is $c, and another one which is "new classC()" ?