You are here: Re: [PHP] destructor not called for static members? « PHP « IT news, forums, messages
Re: [PHP] destructor not called for static members?

Posted by Robert Janeczek on 10/04/79 11:10

YaronKh@clalit.org.il wrote:
> Hi It is an expected behavior because when you define a static
> variableit is shared by all objects of the same class. If When you
> unset one object and the destruct of the static object will be
> called, all the other objects will lose the static var as well.

yes, but why destuctor isn`t called after all the execution is finished?
i mean the moment when php does clean up before it finishes to process
request?

rash

 

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

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