Re: Throwing an Error for require expressions in PHP7.x
| From: | Fleshgrinder | Date: | Sun, 19 Jun 2016 15:53:02 +0000 |
| Subject: | Re: Throwing an Error for require expressions in PHP7.x | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94123@lists.php.net to get a copy of this message | ||
On 6/18/2016 2:29 PM, Niklas Keller wrote:
> Which potential BC? The only thing is a catch all handler that has already
> been adjusted to PHP 7.
>
> If you catch an exception you somehow promise to handle it. If you can't
> handle it, you should rethrow it.
>
> I don't think there will be real issues with BC, because it would have
> otherwise resulted in a non-handleable fatal like before.
>
Definitely no BC since such catch all handlers are usually meant to
(well) catch all and display a nice error message or page to the user
instead of a white page of death.
+1
--
Richard "Fleshgrinder" Fussenegger
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc