note 33819 added to keyword.parent

From: Date: Tue, 08 Jul 2003 17:25:02 +0000
Subject: note 33819 added to keyword.parent
Groups: php.notes 
Request: Send a blank email to php-notes+get-51717@lists.php.net to get a copy of this message
Which versions of PHP support the "parent::"? Most of the other OOP related stuff includes info about required PHP version but for some reason this one doesn't. Is the minimum required version 4.0.x or something older? Also, is it true that PHP doesn't have any built-in feature to call parent's constructor without repeating the parent's class name. I mean, if I have class B extends class A and then the code says 'parent::A();' is it really any better than 'A::A()'? Does some version of PHP support calling the constructor with 'parent()'? ---- Manual Page -- http://www.php.net/manual/en/keyword.parent.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33819 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33819&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33819&report=yes

« previous php.notes (#51717) next »