Link Details

Link 91410 thumbnail
User 71517 avatar

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...
  • 10
  • 2
  • 1282
  • 374

Comments

Add your comment
User 281687 avatar

paul_houle replied ago:

0 votes Vote down Vote up Reply

the author does miss that there are a lot of autoloader libraries that add additional functionality to _autoload()

User 292367 avatar

Ortzinator replied ago:

0 votes Vote down Vote up Reply

deja vu

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (2)