Ask a Question related to PHP Development, Design and Development.
-
Cristiano Duarte #1
[PHP-DEV] Re: finally again
> IMHO, I think that replicating the finally code at the end of every catch
My mistake, it's not necessary to replicate the code at the end of every> block, before every throw/return statement and at the end of the try/catch
> statement justify the need of "finally".
catch block.
And I forgot to mention that there must be one "catch all" clause(wich is
impossible in PHP) with a copy of the finally code and a rethrowing
exception statement otherwise an exception that is not caugh will propagate
without executing the replicated code of "finally".
Cristiano Duarte
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Cristiano Duarte Guest
-
[PHP-DEV] finally again
Hello Cristiano, Friday, November 7, 2003, 4:15:06 PM, you wrote: -
[PHP-DEV] finally again
Hi Andi, think=20 Do you agree that if we don't have finally we should have a way to catch = all exceptions ? Let me explain: If you have a... -
[PHP-DEV] finally again
I've stated my opinion in the past (search the archives) and I don't think it'd be feasible (nor critical) to implement this... Andi At 07:15... -
[PHP-DEV] finally again
Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To... -
[PHP-DEV] finally again
> Hi internals ! community compiler, the org__omg__CosNaming__NamingContextPackage__NotFoundHelper::read($_exception-...



Reply With Quote

