#45674 [Bgs]: No exception list
| From: | bjori@php.net | Date: | Wed, 06 Aug 2008 08:03:00 +0000 |
| Subject: | #45674 [Bgs]: No exception list | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1070@lists.php.net to get a copy of this message | ||
ID: 45674
Updated by: bjori@php.net
Reported By: morgue1 at free dot fr
Status: Bogus
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-08-06 06:48:23] 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-01 14:01:30] bjori@php.net
http://www.php.net/archive/2008.php#id2008-07-29-1
------------------------------------------------------------------------
[2008-08-01 13:11:45] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45674&edit=1