Posted by Tamagafk on 02/01/07 13:49
Today I discovered that I don't understand how references work in php.
I create object, then I store reference to this object into array.
Then I do so into another array. And suddenly I have two vars taken by
reference which should point to single object, but they are different.
Is there possibility of "reference to reference" in php?
I'm just going crazy, can't figure out everything...
Navigation:
[Reply to this message]
|