Re: Make try/catch brackets optinal

From: Date: Thu, 19 Jul 2012 09:58:05 +0000
Subject: Re: Make try/catch brackets optinal
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-61465@lists.php.net to get a copy of this message
On 19.07.2012, at 13:49, Paul Dragoonis wrote: > 2) Try with only one line in it to throw an exception doesn't seem > like a realistic situation. It could be something like this: try $object->method(); catch (\Exception $e) return false; and ->method(), obviously, can have quite a long and complex structure

Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
« previous php.internals (#61465) next »