php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30511 Confusion between the verb extend and the extends keyword
Submitted: 2004-10-21 15:20 UTC Modified: 2004-10-21 15:24 UTC
From: jmmolina at free dot fr Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2004-10-21 15:20 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-21 15:24 UTC] vrana@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 04:01:32 2024 UTC