Variable (Class instantiation) collision

From: Date: Tue, 05 Oct 2010 19:47:52 +0000
Subject: Variable (Class instantiation) collision
Groups: php.general 
Request: Send a blank email to php-general+get-308488@lists.php.net to get a copy of this message
I am running into a variable collision. The project I'm developing is NOT guaranteed to be operating on PHP5. Any solution I find should (hopefully) be able to run on PHP4 (yes, I know PHP4 is deprecated). I am building a bridge between two third-party applications. Both instantiate their respective database class assigning it to $db and I cannot change that. So, I am interested in solutions to this. I found a reference to a Packager class and will be looking at it shortly.

« previous php.general (#308488) next »