That's correct. A file included with either include or include_once will not be loaded again if the interpreter hits a subsequent include_once statement. -Matt
On Fri, Nov 7, 2008 at 6:15 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > Hi! > > Actually... loadClass() already does that. The issue is in the userland >>>> code -- if they do a require_once or include_once in userland *after* >>>> we've already loaded the class in the autoloader using simply include, >>>> that will trigger the error. That's what I was getting at. That said, >>>> >>> > AFAIK include_once does not include file previously included by > include/require. > -- > Stanislav Malyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED] >
