I have searched through the newsgroups/forums and have been unable to find an acceptable answer to this question.
PHP uses 'require()' to load class definitions into memory. However, (as many of us are aware) this simply loads the class file's contents into the current script. This can cause numerous problems for hierarchy heavy applications. I have seen mention of a 'require_once()' method, but am unsure of its use. Is there any way within PHP to allow multiple classes to be required at multiple levels without generating an error?
P.S. - Loading all required classes for an application into a single .php is not the direction I would like to go.
Thank you.