php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71664 Use of the term "standard class" inaccurately
Submitted: 2016-02-25 18:16 UTC Modified: 2016-07-10 12:32 UTC
From: mcannon354 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mcannon354 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-02-25 18:16 UTC] 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."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-10 12:30 UTC] 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-07-10 12:32 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-07-10 12:32 UTC] cmb@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.

And thanks to d roscius for providing the patch.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f984ca507fdd8ac8aac4f681ab42ca3fd2193559
Log: Fix #71664: Use of the term "standard class" inaccurately
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 18:00:02 2026 UTC