|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66631 Visual representation of class hierarchies.
Submitted: 2014-02-03 08:16 UTC Modified: 2014-03-07 18:26 UTC
From: matti dot jarvinen at nitroid dot fi Assigned:
Status: Suspended Package: Documentation problem
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:
Solve the problem:
15 + 1 = ?
Subscribe to this entry?

 [2014-02-03 08:16 UTC] matti dot jarvinen at nitroid dot fi
I believe class inheritance diagrams would be beneficial in helping people to understand relations of some of the internal classes and interfaces and also would promote better use of exceptions through understanding.

Currently some classes like BadFunctionCallException don't list their descendants at all.

SPL documentation that was originally in ~helly/php/ext/spl/ had a great way of explaining class inheritance through clickable diagrams. I believe those were made with dot and doxygen.

Found an SPL documentation example from

Feature could be used at least in:
 DateTimeInterface -> DateTime, DateTimeImmutable,
 Exceptions and SPL Exceptions...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-04 05:11 UTC]
-Type: Documentation Problem +Type: Feature/Change Request -Package: Documentation problem +Package: Website problem
 [2014-03-07 16:59 UTC]
-Status: Open +Status: Closed -PHP Version: 5.5.8 +PHP Version: Irrelevant -Assigned To: +Assigned To: levim
 [2014-03-07 16:59 UTC]
You can view the SPL Exception hierarchy here:

As for a general solution: I'm going to decline it. You can view the parents of a class which is generally the most useful. Adding child information to the parents' page would be a lot of work that I don't think is worth it.
 [2014-03-07 18:26 UTC]
-Status: Closed +Status: Suspended -Package: Website problem +Package: Documentation problem -Assigned To: levim +Assigned To:
 [2014-03-07 18:26 UTC]
~helly is not coming back, but we've been trying to figure something else out...
One do it will come
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 02 21:01:24 2021 UTC