php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66806 The word "parent" is used when "ancestor" would be more appropriate
Submitted: 2014-03-01 17:47 UTC Modified: 2017-01-28 16:59 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jason dot judge at academe dot co dot uk Assigned:
Status: Verified Package: Class/Object related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
43 + 30 = ?
Subscribe to this entry?

 
 [2014-03-01 17:47 UTC] jason dot judge at academe dot co dot uk
Description:
------------
---
From manual page: http://www.php.net/function.is-a
---

The term "parent" refers to an immediate ancestor in all cases that I have com across. Your grandfather and his grandmother are not your parents, and the calling ancestor classes "parents" is just as wrong IMO.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-17 07:02 UTC] krakjoe@php.net
This is correct ... however, this kind of loose terminology is used all over the manual, I'm not sure what good it would do to change the terminology in one function, I think we require more than that here ...

http://www.paranormalocean.com/wp-content/uploads/2012/09/2zxi.jpg

Thoughts, anyone ??
 [2017-01-28 16:59 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Documentation problem +Package: Class/Object related
 [2017-01-28 16:59 UTC] cmb@php.net
> I think we require more than that here ...

ACK
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon May 17 20:01:24 2021 UTC