note 48449 deleted from language.oop.constructor by felipe
| From: | felipe@php.net | Date: | Thu, 03 Jan 2008 02:10:16 +0000 |
| Subject: | note 48449 deleted from language.oop.constructor by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134700@lists.php.net to get a copy of this message | ||
Note Submitter: arjini at gmail dot com
----
This wasn't apparent in the docs above (wording maybe?)
class A{
function A(){
echo 'A\'s constructor has been called.';
}
}
class B {function C(){}}
$instance = new B();
//output: A's constructor has been called.