Maybe I’m stubborn, or maybe it’s my background, but I like PascalCase class names. The sight of something like MY_Controller is a little icky.

So here’s a little __autoload that checks for the name hyphenated, underscore or just smashed flat (I prefer hyphens, but don’t have the visceral reaction to underscores in file names that I do to underscores in class names).