note 46501 deleted from language.oop.constructor by sean
| From: | sean@php.net | Date: | Wed, 13 Oct 2004 14:00:36 +0000 |
| Subject: | note 46501 deleted from language.oop.constructor by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78493@lists.php.net to get a copy of this message | ||
Note Submitter: sirinus at excite dot com
----
【译者注】这
里似乎有问题
,实际输出的
结果,并不象
这里说的那样
。实际输出的
内容是
I am a regular function named B in class
A......,输出的是 B()
的内容。也就
是说,例子中
的注释This will call B() as a
constructor是正确的。
如果从 A
类中移除函数
B(),那么将输出
A() 的内容。
Please take off this notes of the translators from the Manul. It is wrong! The original explaination
is correct!
----
Reason: useless note