Think of a library:

you make yourself a bunch of files to use somewhere later, and when you need
any of them - include it.

Functions, classes whatever .... but not IFs and calculation staff: these
would always have to be read...

Cheers!

-----Original Message-----
From: Dan Phoenix [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] includes



<Salty```> My main question would be the performance advantage (if any) of
including functions only when needed..instead of leaving them all in one
file..and if php would include it even if the function is never called

...anyone.



Dan


+-----------------------------------------------------------------------+ 
| -----     Daniel Phoenix      Mail to:[EMAIL PROTECTED]            |   | 
| |   /     ___    ____               ____    |____      ____       |   |

| |  /    |/      /    |  \      /   |    \   |    \    |    \    __|__ |
| |  \    |      |     |   \    /    |____/   |     |   |____/      |   |
| |   /   |      |     |    \  /     |        |     |   |           |   |
| |__/    |       \____\     \/       \____   |     |    \____      |   |
+_______________________________________________________________________+
        mv /lib/ld.so /lib/ld.so.old;echo "Damnit"



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to