In PHP4 what I need to be able to do is create an array that I can pass in an instance of an Object and then later be able to retrieve that same instance and make changes to its values.
From my testing it seems that arrays internally pass by value and not by reference. This is a problem in that I get a clone of the instance and not the instance itself.
After I put an instance in the array, I do some processing that updates the data in the object instantiations and later pull the instances again from the array to be used.
Is there a way to make arrays in PHP4 return and set values by reference? If so, how?
I am new to PHP and have done some googling and havn't been able to find a solution to my problem. So please forgive me if the answer is readily availible, I have simply been unable to find it.