Hello!
I can't see any difference between:
$MyObject = new Object();
and
$MyObject =& new Object();
I used to think that if I use =&, I will be able to change variables of
the class and each new object created after that from the modified class
will have new, modified variables - but that seems not to be true...
I use PHP5 - is it the problem?
I can't see any difference between:
$MyObject = new Object();
and
$MyObject =& new Object();
I used to think that if I use =&, I will be able to change variables of
the class and each new object created after that from the modified class
will have new, modified variables - but that seems not to be true...
I use PHP5 - is it the problem?
Comment