Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104288 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48991 invoked from network); 7 Feb 2019 16:47:04 -0000 Received: from unknown (HELO mail-wr1-f50.google.com) (209.85.221.50) by pb1.pair.com with SMTP; 7 Feb 2019 16:47:04 -0000 Received: by mail-wr1-f50.google.com with SMTP id z3so11563811wrv.3 for ; Thu, 07 Feb 2019 05:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=/FNI3UMmd6kNU8qXekh1MbvZKPjaGoWDxVXK+z0GduU=; b=T5wO5688neQBBCMBcXKDQDv756oEChSQhB7gPFCXNpN/YQk0FNPeBTPIXiiu0NUHB8 leRyOvIQzrXR5pDHCTA95Lz6ik7J7FqmeQ8eKvsf3gonA//kcD7YOSrMwDpHbfrUKCpy WNPK/2lI+YnlscEK17lGaMnV4HR6IjZ+UsSuIC55ss4uAO1ypy6Se+DJXfACzuyF8WTQ n5wjz+0y0Vt/n7yupbZm3h3qpa4PMGcs0k28Uq7FrWoG/tRg4YogP9ruDNyWw958XkR2 wb/hfbUTMgv2hdsYb/MK/u7BWS0nLiNhU7U08EbsKk5fBSR6Hbw3sNeMvPhzxqczxDP2 XBkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:from:message-id; bh=/FNI3UMmd6kNU8qXekh1MbvZKPjaGoWDxVXK+z0GduU=; b=eoqRXoh2P23hGLdiYajZQeliUE6dSCMRlztQXJkSjs1zRoU7GvAS3uxy6p8b/YY1RV kaCiVuS7YrfX8EneccPXm3/d93lJM2++0RrBp7oZix+8EYyXtAnC0NXSRwWzGTr3WPhC TSh6TJi0+6TYzYsxg1NpJpTVmzExJ4VL/Fyvf7rLmtl1SKtohSjjA1yHQM+1BoWUo2U4 qGG2JUHemUV0oTwANuxwy3H1pSbphtljUfCLb+DBUgSJI+jznyirvzACLm+HQsKmtVtg mZi+7v8G9C+RiSmphztp8sHXG7iMa/tdCqtGVa8yo8MK0fPvJ4RYwfFrtLUyf26h6hOE kJbQ== X-Gm-Message-State: AHQUAuYXkiJYmmOCMspLejXFceTrKRhuN3mqojDL3HU9rar0GTJc6End EBXUhVOLnJ40nhT/LZjTPfTwkxcr X-Google-Smtp-Source: AHgI3IYc7zTlCdCg6hphPGriYhqekedAKR5PgTUv3eDDG7LwKUSli9YNSbUKmw+4g7ATsJ/3PwXOFw== X-Received: by 2002:adf:e38e:: with SMTP id e14mr13016134wrm.142.1549546122158; Thu, 07 Feb 2019 05:28:42 -0800 (PST) Received: from [10.6.149.191] (188.29.164.187.threembb.co.uk. [188.29.164.187]) by smtp.gmail.com with ESMTPSA id e27sm36704558wra.67.2019.02.07.05.28.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 05:28:40 -0800 (PST) Date: Thu, 07 Feb 2019 13:28:38 +0000 User-Agent: K-9 Mail for Android In-Reply-To: References: <38CCB7C0-C97D-41F1-8EB7-BA5FE8FD01F5@cschneid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net Message-ID: <67F91637-CCB0-4FB2-8D6B-423230070AD1@gmail.com> Subject: Re: [PHP-DEV] Don't silence fatal errors From: rowan.collins@gmail.com (Rowan Collins) On 7 February 2019 11:19:46 GMT+00:00, Benjamin Morel wrote: >Also, some applications might assume that the directory does not >already >exist, and want to fail if it does=2E So both use cases must be available >in >the API=2E I absolutely agree, but I also agree that the task here is not "convert wa= rnings to exceptions", it's "design a new I/O API"=2E It's a subtle difference in framing: the warnings are just a symptom, and = we need to address the cause=2E Regards, --=20 Rowan Collins [IMSoP]