note 111026 deleted from oop4.constructor by googleguy

From: Date: Tue, 08 Jan 2013 10:52:09 +0000
Subject: note 111026 deleted from oop4.constructor by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192833@lists.php.net to get a copy of this message
Note Submitter: insanity_redifined ---- if you using php 5 or above, u have to define the constructor in class B for it to be called when defining the B instance...currently, it calls only A's constructor and its specified correctly...note the line "PHP 4 does not care if the function is being defined in class B, or if it has been inherited."

« previous php.notes (#192833) next »