Re: Conditional Functions

From: Date: Thu, 22 Apr 2004 19:45:42 +0000
Subject: Re: Conditional Functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184289@lists.php.net to get a copy of this message
Maybe you could group them by purpose and put them into different include files. Then you just include the file containing the functions you need at this point in the script. Regards, Torsten Roehr "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B03522481@nemesis... [snip] I was wondering if using conditional functions would save resources. The thing is that there's many functions in the code I'm using, but most aren't used in each case. I was thinking that maybe, even if the functions are in the included files, I could not define them making them conditional. Would this benefit the script? How? TIA. [/snip] It might, have you experimented with any code?

« previous php.general (#184289) next »