[PHP] question concerning php parsing

2002-08-13 Thread Randy Johnson

if i have functions.php with 10 functions in it and include the file in my
main php file and call  1 of the 10 functions in my program does the whole
functions.php have to be parsed or does it just include the function that is
needed.

I am just curious as  I plan to use the phpa on my scripts and if I don't
need all those functions to be in memory just the function that i call.

Hope i did not confuse anybody.

Randy



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] question concerning php parsing

2002-08-13 Thread Analysis Solutions

On Tue, Aug 13, 2002 at 09:22:47AM -0400, Randy Johnson wrote:
 if i have functions.php with 10 functions in it and include the file in my
 main php file and call  1 of the 10 functions in my program does the whole
 functions.php have to be parsed or does it just include the function that is
 needed.

The entire included file is parsed into memory.

--Dan

-- 
   PHP classes that make web design easier
SQL Solution  |   Layout Solution   |  Form Solution
sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php