php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #45674 No exception list
Submitted: 2008-08-01 13:11 UTC Modified: 2008-08-06 08:11 UTC
From: morgue1 at free dot fr Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2008-08-01 13:11 UTC] morgue1 at free dot fr
Description:
------------
There is no list of the PHP API exceptions.

If I want this list, I must write a script


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-06 06:48 UTC] morgue1 at free dot fr
When I execute the following code without any extensions, I have lot of exception. I know that most of them declared in library but some one like InvalidArgumentException don't seem to be in library

Code :

<?php
var_dump(preg_grep('/exception$/i', get_declared_classes())) ;
?>
 [2008-08-06 08:03 UTC] bjori@php.net
The SPL extension is severely lacking documentation.

The only two built-in (to the engine) exceptions are listed at http://php.net/reserved.exceptions.

Since you must write a script, we would really appreciate if you could then help us documenting the Exceptions declared by the SPL extension..

Let me know if you are interested.
 [2008-08-06 08:11 UTC] morgue1 at free dot fr
Yes, I can help you documenting SPL's exceptions.

I can make documentation in English and French
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 05:00:02 2026 UTC