Re: [PHP-DEV] Re: finally again

2003-11-07 Thread Cristiano Duarte
Hi Andi, 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... 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 library that can raise a huge

Re: [PHP-DEV] Re: finally again

2003-11-07 Thread Marcus Börger
Hello Cristiano, Friday, November 7, 2003, 4:15:06 PM, you wrote: Hi Andi, 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... Do you agree that if we don't have finally we should have a way to catch all

[PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: finally again

2003-10-30 Thread Andi Gutmans
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 PM 10/30/2003 -0200, Cristiano Duarte wrote: Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
Hi Andi, 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... 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 library that can raise a huge

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
Hi internals ! I came into a problem when writing an IDL to PHP5 language mapping specification and an IDL to PHP5 language compiler. I'm using the community OpenORB IDL-to-Java compiler as a base for writing the IDL-to-PHP5 compiler, in fact, it is a translation from Java to PHP5.

[PHP-DEV] Re: finally again

2003-10-26 Thread Andrew Smith
Cristiano Duarte wrote: Hi internals ! I came into a problem when writing an IDL to PHP5 language mapping specification and an IDL to PHP5 language compiler. I'm using the community OpenORB IDL-to-Java compiler as a base for writing the IDL-to-PHP5 compiler, in fact, it is a translation from Java

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
Hi Andrew, That's great! An IDL to PHP compiler is really needed ! What's the status of your project anyway ? Currently I have the mapping specification done, but it needs validation with the code generated by the compiler. The compiler generates the PHP code, and a simple test works with a

[PHP-DEV] Re: finally again

2003-10-24 Thread Cristiano Duarte
IMHO, I think that replicating the finally code at the end of every catch block, before every throw/return statement and at the end of the try/catch statement justify the need of finally. My mistake, it's not necessary to replicate the code at the end of every catch block. And I forgot to