#31250 [Opn->Csd]: "Try" is a Control Structure, not an Object
| From: | mez@php.net | Date: | Wed, 29 Dec 2004 16:59:41 +0000 |
| Subject: | #31250 [Opn->Csd]: "Try" is a Control Structure, not an Object | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365669@lists.php.net to get a copy of this message | ||
ID: 31250
Updated by: mez@php.net
Reported By: rampant at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: WinXP
PHP Version: Irrelevant
Previous Comments:
------------------------------------------------------------------------
[2004-12-29 13:47:59] vrana@php.net
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.
Moved directly under the Language Reference.
(Leaving open to not forget to move user notes after manual rebuild.)
------------------------------------------------------------------------
[2004-12-22 17:22:30] rampant at gmail dot com
Description:
------------
The documentation for "try" and "catch" is in the "Classes and
Objects"
chapter of the manual. Throw, Try and Catch control the flow of
execution much like "if" does. They make use of the Exception class,
just as "if" works on booleans - and just as if is not put into the
"Types" chapter, we shouldn't expect to find try and catch in the
"Classes and Objects" chapter.
Expected result:
----------------
http://www.php.net/manual/en/language.control-structures.php
try, catch and throw would ba added to the list on the above page, and
the exceptions content would be moved there from the
http://www.php.net/manual/en/language.oop5.exceptions.php
page.
Actual result:
--------------
Exceptions are hidden away in the Classes and Objects chapter.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31250&edit=1