Andrew McDonough

Please note: This page is imported from my wiki, which hasn't been updated in over 10 years. Some of the formatting was lost during the import. I'll try to get around to fixing it someday.


Autoloading objects

To save the hassle of requiring all modules, the autoload function can be used to load object libraries as they are needed:

function _autoload($classname) { requireonce $classname . ‘.class.php’; }

Andrew McDonough

Andrew McDonough is a consultant CTO and software developer, currently based between Berlin and London.

Follow Andrew on Twitter or Connect on LinkedIn