note 92048 added to language.oop5.decon

From: Date: Tue, 07 Jul 2009 02:06:36 +0000
Subject: note 92048 added to language.oop5.decon
Groups: php.notes 
Request: Send a blank email to php-notes+get-157994@lists.php.net to get a copy of this message
Hi, Is this explaination correct in the manual for "Destructor" which says "Like constructors, parent destructors will not be called implicitly by the engine. In order to run a parent destructor, one would have to explicitly call parent::__destruct() in the destructor body. " In constructors also parent constructors are not called implicitly, to call a parent constructor in child we should use parent::__construct So the above pararagraph in manual should be "As in constructors , to run a parent destructor, one would have to explicitly call parent::__destruct() in the destructor body. " Regards Leeladharan M P Achar ---- Server IP: 69.147.83.197 Probable Submitter: 122.167.236.55 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php Edit -- https://master.php.net/note/edit/92048 Del: integrated -- https://master.php.net/note/delete/92048/integrated Del: useless -- https://master.php.net/note/delete/92048/useless Del: bad code -- https://master.php.net/note/delete/92048/bad+code Del: spam -- https://master.php.net/note/delete/92048/spam Del: non-english -- https://master.php.net/note/delete/92048/non-english Del: in docs -- https://master.php.net/note/delete/92048/in+docs Del: other reasons-- https://master.php.net/note/delete/92048 Reject -- https://master.php.net/note/reject/92048 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157994) next »