Req #11615 [Opn->Csd]: change/modify parent syntax
| From: | jani@php.net | Date: | Wed, 24 Nov 2010 12:42:19 +0000 |
| Subject: | Req #11615 [Opn->Csd]: change/modify parent syntax | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156376@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=11615&edit=1
ID: 11615
Updated by: jani@php.net
Reported by: nelson at vericel dot com
Summary: change/modify parent syntax
-Status: Open
+Status: Closed
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: Class/Object related
Operating System: Linux
PHP Version: 4.0.5
-Assigned To:
+Assigned To: jani
Block user comment: N
Private report: N
New Comment:
parent::__construct() is possible nowadays..
Previous Comments:
------------------------------------------------------------------------
[2001-06-22 07:01:07] nelson at vericel dot com
it would be nice if the parent syntax was extended so that the parent
class constructor could be referenced with
parent::parent()
This way, when a subclass wants to call the parent constructor, it can,
without referring to the class. This makes current documentation more
"true" in that it is more possible to chance the inheritance tree
without breaking things.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=11615&edit=1