Edit report at http://bugs.php.net/bug.php?id=11615&edit=1

 ID:                 11615
 Updated by:         [email protected]
 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

Reply via email to