Re: Newbie Question on Efficiency : Follow-up Question
| From: | Analysis & Solutions | Date: | Wed, 17 Jul 2002 01:03:37 +0000 |
| Subject: | Re: Newbie Question on Efficiency : Follow-up Question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108000@lists.php.net to get a copy of this message | ||
On Tue, Jul 16, 2002 at 06:25:42PM -0500, Michael Kennedy wrote:
> OK, if I understand C++ correctly, if I write a program and #include
> <iostream.h> or something similar and compile the program it only
> compiles with the used functions in it, right? So, if I never use 'cin'
> it leaves that function out of the final complied app.
>
> Does/can PHP do anything similar?
Nope. Everything is brought into memory at compile time. Or at least
that's the way I understood it to be. I suspect it's still the case.
--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