Re: Core functions throwing exceptions in PHP7
| From: | Yasuo Ohgaki | Date: | Sat, 01 Aug 2015 21:48:34 +0000 |
| Subject: | Re: Core functions throwing exceptions in PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87487@lists.php.net to get a copy of this message | ||
Hi Niklas,
On Sat, Aug 1, 2015 at 5:50 PM, Niklas Keller <me@kelunik.com> wrote:
> You always assume the developer just wants to fallback to something
> different. You can't
> detect the environment btw. because it could just fail because of too many
> open file descriptors.
>
This is not my assumption, but others. They argue that they would like to
fallback to alternative method when error happened. (which I think it's not
best
way to do) If they don't, E_RECOVERABLE_ERROR is enough.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net