Skip to content

Instantly share code, notes, and snippets.

Avatar

Dmitry Kabanov dmitry-kabanov

View GitHub Profile
@dmitry-kabanov
dmitry-kabanov / SplClassLoader.php
Created Feb 9, 2012 — forked from jwage/SplClassLoader.php
PSR-0 Compatible Autoloader
View SplClassLoader.php
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
You can’t perform that action at this time.