include and include_once functions

From: Date: Thu, 16 Nov 2000 23:01:02 +0000
Subject: include and include_once functions
Groups: php.general 
Request: Send a blank email to php-general+get-25815@lists.php.net to get a copy of this message
I am wondering about performance logisitics here: is it bad, not appropriate, not recommended (ETC.) to include a file within a function? (note all my included files are just function listings, no code outside of functions) when you think about what happens (in a logitcal "this goes here way"), this builds nasty embedded code within functions. However, PHP may do something with includes, and it doesnt actually appear right where it is included. Am I making any sense?

« previous php.general (#25815) next »