Re: storageFactory: more bugs?

Lukas Kahwe Smith <[email protected]> Sat, 29 Oct 2005 00:45:39 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Balarama Bosch wrote:

> The unset($confArray[$key]) command removes data from the original conf
> array, which is passed by reference.
> Again, this only seems to be causing problems in PHP5, not in PHP4.4.0,
> though the original conf array still gets maimed in both versions.
> 
> Why is the storage array being unset?
> Perhaps $confArray should not be passed by reference on line, but as a
> copy? This seems to fix the problem.

The problem is in the way php4 deals with objects .. there is a solution 
in CVS ...

regards,
Lukas