Re: Don't silence fatal errors
| From: | Rowan Collins | Date: | Thu, 07 Feb 2019 13:28:38 +0000 |
| Subject: | Re: Don't silence fatal errors | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104288@lists.php.net to get a copy of this message | ||
On 7 February 2019 11:19:46 GMT+00:00, Benjamin Morel <benjamin.morel@gmail.com> wrote:
>Also, some applications might assume that the directory does not
>already
>exist, and want to fail if it does. So both use cases must be available
>in
>the API.
I absolutely agree, but I also agree that the task here is not "convert warnings to
exceptions", it's "design a new I/O API".
It's a subtle difference in framing: the warnings are just a symptom, and we need to address
the cause.
Regards,
--
Rowan Collins
[IMSoP]