Skip to content

Instantly share code, notes, and snippets.

raymondjplante / SplClassLoader.php
Last active Dec 15, 2015 — forked from jwage/SplClassLoader.php
Autoloader functions should do their magic then return true or false (that way a later autoloader can maybe succeed). Requiring a file without the checking first if it's valid will fatal error.
View SplClassLoader.php
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
You can’t perform that action at this time.