By Volume4
via php.dzone.com
Published: Jun 30 2008 / 14:35
PHP added several magic methods in PHP5. __autoload(), however, isn’t one of them. But that doesn’t make it any less useful. In fact it’s one of the gems in PHP that I find to be relatively under used. It’s common for PHP applications to break out classes into their own files. This becomes cumbersome when working on large projects as you wind up with numerous include/require calls for any given page. There’s got to be a better way...



Comments
paul_houle replied ago:
the author does miss that there are a lot of autoloader libraries that add additional functionality to _autoload()
Ortzinator replied ago:
deja vu
Voters For This Link (10)
Voters Against This Link (2)