Doc #67010 [Com]: Manual: Exceptions: "is not present" should be "is present"
| From: | patrick dot schwisow at gmail dot com | Date: | Wed, 25 Mar 2015 21:36:53 +0000 |
| Subject: | Doc #67010 [Com]: Manual: Exceptions: "is not present" should be "is present" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12049@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
Comment by: patrick dot schwisow at gmail dot com
Reported by: william75 at yopmail dot com
Summary: Manual: Exceptions: "is not present" should be "is
present"
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The attached patch takes cmbecker69's suggestion to remove part of the parenthetical clause.
Previous Comments:
------------------------------------------------------------------------
[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