Re: [RFC] Non-capturing catches

From: Date: Wed, 08 Apr 2020 01:33:30 +0000
Subject: Re: [RFC] Non-capturing catches
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109559@lists.php.net to get a copy of this message
Hi! On 4/7/20 6:17 AM, Max Semenik wrote: > Hiya, I'd like to present a new RFC for your consideration: > https://wiki.php.net/rfc/non-capturing_catches > > Briefly, I want to be able to do the following: > > try { > foo(); > catch (SomeExceptionClass) { > bar(); > } Looks good to me. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#109559) next »