Thread: PHP Question
View Single Post
Old 05-16-07, 02:06 PM   #11
Registered User
Join Date: Jul 2005
Posts: 3,606
Default Re: PHP Question

Originally Posted by fivefeet8
I've found that once you start programming in OOP with PHP. It can get messy when multiple classes requires the same functions/classes from other php files, but you needed to use both classes on one page. For example:

All objects(classes) are defined on different php scripts:
Object 1 requires object2;
Object 3 requires object2;

Your page requires object1, object2, and object3. Using only require('xx.php') would cause errors. I guess it would depend on what you're trying to do though.
Good point.
evilghost is offline   Reply With Quote