note 56972 added to language.oop5.decon
| From: | php-general at lists dot php dot net | Date: | Tue, 20 Sep 2005 17:26:27 +0000 |
| Subject: | note 56972 added to language.oop5.decon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95486@lists.php.net to get a copy of this message | ||
I'm just wondering about the syntax for calling parent-constructors and destructors...using the
"::" you call static methods... constructors and destructors wouldn'n make any sense
in this way.
So it seems to be a speciality of PHP to call an inherited hidden method like a static method, there
is no logical correct way.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56972
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56972&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56972&report=yes
Search -- http://master.php.net/manage/user-notes.php