[PHP-DEV] Revive old "anonymous exception" RFC

2019-02-22 Thread Roland Franssen
possibly permissions to edit the RFC. (Wiki username=ro0nl) This request supersedes https://externals.io/message/104491 Cheers, Roland Franssen

Re: [PHP-DEV] Optional catch binding

2019-02-22 Thread Roland Franssen
not going to use. > Plenty other languages like C#, C++, Python, Ruby already allow this. > > > On 21. Feb 2019, at 17:57, Dan Ackroyd wrote: > > > > On Thu, 21 Feb 2019 at 15:46, Roland Franssen > wrote: > >> For now, I'm aiming to get rid of "unused va

Re: [PHP-DEV] Optional catch binding

2019-02-21 Thread Roland Franssen
> it produces a warning - and it should, since what is being done is what usually should not be done I didn't want to turn this into an "error handling best practices" discussion. Exceptions might not be recommended to use for flow-control, yet this is possible today and really depends on the exce

Re: [PHP-DEV] Optional catch binding

2019-02-21 Thread Roland Franssen
i have to declare it? Roland, Op do 21 feb. 2019 om 17:57 schreef Dan Ackroyd : > On Thu, 21 Feb 2019 at 15:46, Roland Franssen > wrote: > > For now, I'm aiming to get rid of "unused variable $e". > > You seem to be trying to alter the language to fit your

[PHP-DEV] Optional catch binding

2019-02-21 Thread Roland Franssen
ch-binding - https://en.cppreference.com/w/cpp/language/try_catch Cheers, Roland Franssen PS: 3rd attempt, sorry if im spamming somehow

[PHP-DEV] Optional catch binding

2019-02-21 Thread Roland Franssen
ch-binding - https://en.cppreference.com/w/cpp/language/try_catch Cheers, Roland Franssen