Am 07.02.2019 um 14:28 schrieb Rowan Collins <[email protected]>:
> On 7 February 2019 11:19:46 GMT+00:00, Benjamin Morel
> <[email protected]> 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.
mkdir("foo") or fail();
> 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".
Agreed.
Please don't try to mutate an existing API into something it is not designed
for while introducing BC headaches in the process.
- Chris
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php