RE: [PHP] includes
| From: | Maxim Maletsky | Date: | Fri, 12 Jan 2001 01:47:33 +0000 |
| Subject: | RE: [PHP] includes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34185@lists.php.net to get a copy of this message | ||
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:dphoenix@bravenet.com]
Sent: Friday, January 12, 2001 10:22 AM
To: php-general@lists.php.net
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:dan@bravenet.com | |
| | / ___ ____ ____ |____ ____ | |
| | / |/ / | \ / | \ | \ | \ __|__ |
| | \ | | | \ / |____/ | | |____/ | |
| | / | | | \ / | | | | | |
| |__/ | \____\ \/ \____ | | \____ | |
+_______________________________________________________________________+
mv /lib/ld.so /lib/ld.so.old;echo "Damnit"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net