Re: How does the Zend engine behave?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, October 26, 2006 9:33 am, jeff.phplist@xxxxxxxxxxxx wrote:
>> If your include file is actually included, it will use memory. If it
>> is not included because of some condition, then it won't use memory.
>
> I wonder if that's the same when a cache/optimiser is used. Probably.
> Maybe I'll check.

Almost for sure no PHP opcode cache attempts to load files that
*might* be included later.

That would be daft. :-)

They load the file, tokenize it, and store the opcode output of the
tokenizer for later re-execution.

> Thanks Jon. So in summary: use a cache if possible. Late load files to
> save memory. Buy more memory to handle more sessions. And it's
> conceivable that when caches are used, different rules may apply.

If your PHP source scripts themselves are chewing up large chunks of
RAM, that's pretty unusual...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux