Doc #71664 [Opn->Csd]: Use of the term "standard class" inaccurately
| From: | cmb@php.net | Date: | Sun, 10 Jul 2016 12:32:37 +0000 |
| Subject: | Doc #71664 [Opn->Csd]: Use of the term "standard class" inaccurately | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13701@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71664&edit=1
ID: 71664
Updated by: cmb@php.net
Reported by: mcannon354 at gmail dot com
Summary: Use of the term "standard class" inaccurately
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
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.
And thanks to d roscius for providing the patch.
Previous Comments:
------------------------------------------------------------------------
[2016-07-10 12:30:08] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339625
Log: Fix #71664: Use of the term "standard class" inaccurately
Clarify introduction sentence on creating interfaces with respect to classes
--
Provided by anonymous 70720 (d@roscius.ca)
------------------------------------------------------------------------
[2016-02-25 18:16:36] mcannon354 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/language.oop5.interfaces
---
Second paragraph says:
"Interfaces are defined using the interface keyword, in the same way as a standard class, but
without any of the methods having their contents defined."
However, that term standard class here does not mean a php standard class, which was confusing to
me. I believe it means a regular or normal class type as opposed to an interface class.
I'm not sure how to word it better, but below is possible wording.
"Interfaces are defined using the interface keyword, in the same way as any regularly defined
class (i.e., using the "class" command), but without any of the methods having their
contents defined."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71664&edit=1