You are here: Object Destruction in PHP5 « PHP « IT news, forums, messages
Object Destruction in PHP5

Posted by Arjun Jain on 03/16/05 10:52

Hi everyone,

When is the object destroyed which is created in a PHP5 script?

Suppose i say:

<?php
$m = new MyClass;
$m->fun1('abcd');
$m->fun2();
?>

Then why is the destructor not called when my script ends? Can it be
called explicitly? If yes, how?

Thanking you in advance,
Regards
aj
--
-----------------------------------------------------------------
Arjun Jain, 7th Sem CSE, RVCE
http://arjun.notlong.com
Visit http://groups.yahoo.com/group/rvcelug/
<http://groups.yahoo.com/group/rvcelug/>
-----------------------------------------------------------------

 

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

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