|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: matti dot jarvinen at nitroid dot fi
New email:
PHP Version: OS:


 [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: Sun Mar 07 12:01:23 2021 UTC