Class Name Conflict

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lvitup
Forum Newbie
Posts: 1
Joined: Fri Sep 08, 2006 3:29 pm

Class Name Conflict

Post by lvitup »

Hi.

I am using two 3rd party libraries. Each has a class by the same name. What are my options at resolving this conflict? I'd rather not change the libs.

Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

As long as they don't need to be loaded at the same time, there is not problem. But if they do, you need to rename them.
Post Reply