Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Fix a problem with the autoloader when used with multiple SPL loaders. #715

Merged
merged 1 commit into from
Jan 6, 2012

Conversation

LouisLandry
Copy link
Contributor

When multiple loaders are registered with the SPL autoloader one might expect that PHP will stop looking once a class is found. This is not the case, it will continue to iterate through the loaders and if you don't handle the case within the loader you may end up with fatal errors if a class exists in two places.

pasamio added a commit that referenced this pull request Jan 6, 2012
Fix a problem with the autoloader when used with multiple SPL loaders.
@pasamio pasamio merged commit f615cff into joomla:staging Jan 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants