Arjun Jain wrote:
Hi everyone,
When is the object destroyed which is created in a PHP5 script?
Suppose i say:
fun1('abcd');
$m->fun2();
unset($m); // this fires $m->__destruct() if it exists.
?>
Then why is the destructor not called when my script ends? Can it be
it is called - but it won't output
Hi everyone,
When is the object destroyed which is created in a PHP5 script?
Suppose i say:
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
--
--
2 matches
Mail list logo