#46041 [Opn->Csd]: Missing a fact about exceptions
| From: | vrana@php.net | Date: | Tue, 04 Nov 2008 17:04:22 +0000 |
| Subject: | #46041 [Opn->Csd]: Missing a fact about exceptions | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1324@lists.php.net to get a copy of this message | ||
ID: 46041
Updated by: vrana@php.net
Reported By: robert dot schneider at maroxx dot at
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
"Internal PHP functions mainly use Error reporting, only modern
extensions use exceptions. However, errors can be simply translated to
exceptions with ErrorException."
Previous Comments:
------------------------------------------------------------------------
[2008-10-26 16:11:35] kalle@php.net
PHP mainly just throws "errors", not exceptions, if a method or
function throws an exception information can be found on their manual
page.
Is that what you mean?
------------------------------------------------------------------------
[2008-09-10 09:26:12] robert dot schneider at maroxx dot at
Description:
------------
I miss a note about Exceptions within the exception documentation. The
question is: does PHP itself throws exceptions or not? Does any of the
functions throw exceptions? Or does exception solely created by
programmers? What leads to the question: does one should install an
general exception handler since PHP itself throws exception?
Hope it is ok to request this by a bug report. Sorry if it doesn't.
If it takes some time to integrate this into the documentation I would
be glad if one could mail me a short answer.
This information may be some where. But I don't know how to find it.
Thank you!
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46041&edit=1