Re: #31250 [NEW]: "Try" is a Control Structure, not an Object
| From: | Derick Rethans | Date: | Wed, 29 Dec 2004 12:09:54 +0000 |
| Subject: | Re: #31250 [NEW]: "Try" is a Control Structure, not an Object | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365650@lists.php.net to get a copy of this message | ||
On Wed, 29 Dec 2004, Jakub Vrana wrote:
> rampant at gmail dot com wrote:
> > 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.
>
> It's quite a big change so I am sending a patch for it first. I think
> the best location for exceptions is directly under the Language
> Reference (not under the Control Structures as proposed).
Can't you link it in in both places? That would make sense IMO.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org