Includes vs. Functions

From: Date: Wed, 17 Jul 2002 20:32:41 +0000
Subject: Includes vs. Functions
Groups: php.general 
Request: Send a blank email to php-general+get-108157@lists.php.net to get a copy of this message
I generally prefer to include various blocks of code in templates using include_once() rather than load a functions library and make calls to those functions within the script. Is there a big difference in efficiency and speed of includes vs. custom functions? I like includes because it's easier to drop blocks of code in a page design without disrupting the design of the page very much. Thanks, Monty

« previous php.general (#108157) next »