#30511 [Opn->Csd]: Confusion between the verb extend and the extends keyword
| From: | vrana@php.net | Date: | Thu, 21 Oct 2004 13:25:08 +0000 |
| Subject: | #30511 [Opn->Csd]: Confusion between the verb extend and the extends keyword | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364608@lists.php.net to get a copy of this message | ||
ID: 30511
Updated by: vrana@php.net
Reported By: jmmolina at free dot fr
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
This is fixed in CVS since 2004-10-17.
Previous Comments:
------------------------------------------------------------------------
[2004-10-21 15:20:54] jmmolina at free dot fr
Description:
------------
In the « Language Reference > The Classes and Objects (PHP 5) > The
Basics » chapter, the author writes about class inheritance using the
extends keyword, but it mixes the verb extend and the extends keyword.
The section name is extend and it should be extends, like the keyword
because the other sections are named as the keywords they explain :
class, new... Second the first sentence, « A class can inherit methods
and members of another class by using the extend keyword in the
declaration. », is not correct as the keyword is extends, with a s, not
extend.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30511&edit=1