Doc #67010 [Opn->Csd]: Manual: Exceptions: "is not present" should be "is present"
| From: | cmb@php.net | Date: | Sun, 14 Jun 2015 15:10:39 +0000 |
| Subject: | Doc #67010 [Opn->Csd]: Manual: Exceptions: "is not present" should be "is present" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12421@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67010&edit=1
ID: 67010
Updated by: cmb@php.net
Reported by: william75 at yopmail dot com
Summary: Manual: Exceptions: "is not present" should be "is
present"
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
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.
And thanks for the patch, Patrick.
Previous Comments:
------------------------------------------------------------------------
[2015-06-14 15:09:57] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=336948
Log: simplified description of normal execution wrt. try-catch (fixes #67010)
------------------------------------------------------------------------
[2015-03-25 21:36:53] patrick dot schwisow at gmail dot com
The attached patch takes cmbecker69's suggestion to remove part of the parenthetical clause.
------------------------------------------------------------------------
[2014-11-22 00:18:07] cmbecker69 at gmx dot de
> The second half inside the parentheses is incorrect: "is not
> present" should on the contrary be "is present".
IMHO both alternatives are misleading. It seems to me it's best to
simplify to:
| Normal execution (when no exception is thrown within the try
| block) will continue after that last catch block defined in
| sequence.
What happens when an exception is thrown (whether matched by a
catch or not) is explained in the following paragraph anyway.
------------------------------------------------------------------------
[2014-04-03 16:21:56] william75 at yopmail dot com
Description:
------------
---
From manual page: http://www.php.net/language.exceptions
---
The page http://php.net/manual/en/language.exceptions.php
currently reads:
"Normal execution (when no exception is thrown within the try block, or when a catch matching
the thrown exception's class is not present) will continue after that last catch block defined
in sequence."
The second half inside the parentheses is incorrect: "is not present" should on the
contrary be "is present".
The error also exists in translations.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67010&edit=1