Is this a bad practice?
like:
function boo(){ require_once(\"class.moo.php\"); } ...
?
I would avoid it.
It is not what another developer would expect, and, as such, would reduce the maintainability of your code.