You are here: Re: Garbage collection « PHP Programming Language « IT news, forums, messages
Re: Garbage collection

Posted by Chung Leong on 04/30/07 13:21

On Apr 27, 2:48 am, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote:
> Session variables also take some resources.

Session variables--by default at least--are stored in files. They
don't take up memory.

> Also, the PHP interpreter is smart enough to cache the *code* of the
> script - obviously, the heap and stack of every run is destroyed after the
> run is complete. Expect the PHP engine to keep half-parsed code somewhere
> in memory.

Nope, the PHP interpreter is pretty dumb by default. Script files are
always reparsed. You have to pay for the smart, in the form of the
Zend Accelerator (or whatever it's called nowadays).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация