Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27969 invoked from network); 1 Aug 2015 21:49:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2015 21:49:19 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.182 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.182 mail-yk0-f182.google.com Received: from [209.85.160.182] ([209.85.160.182:35434] helo=mail-yk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/22-08505-DDE3DB55 for ; Sat, 01 Aug 2015 17:49:17 -0400 Received: by ykdu72 with SMTP id u72so84499986ykd.2 for ; Sat, 01 Aug 2015 14:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=sDbjFsPU3ELffjg5CF3bMumRBbxHP7MD1APxlLsgQLs=; b=CH05iD7TTroFCnmR3An+mDyIQuI04C1uFQ+jvUMs27o6BiPy6rtebJcff/X0Ci8BUA E9jjyJTy6iYJOCLR4D4B6NV9Fjg3397eWvrtlQxKuKrO9fJs7LdlfOnpLGL4yHdPXcsW tMYquRSBVQcUu2gAG8vHl6cNZFvMN68VlPtvPHA+hLPJzpR/ZeFvEiBO3dt+qPZslL2q l3HsyVu8cGB6sUW5QC/KIATZkTWWi1Led+Qvxo3DrqENRhrAhFBnBiEfZ5VsxlqtKNWR xqrOyCIWxJ8/LMKN17+ydMB2BZipBcHMFu9WVzrBxKNURjBSk3UnYHiPOpT5j4MKHiT8 hYpg== X-Received: by 10.170.207.195 with SMTP id y186mr11692102yke.2.1438465754313; Sat, 01 Aug 2015 14:49:14 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.40.77 with HTTP; Sat, 1 Aug 2015 14:48:34 -0700 (PDT) In-Reply-To: References: <836BA21C-AE99-4E7B-AB06-EBC30E41BA0E@icicle.io> <0AD335F5-35F3-4D98-8F82-800A1EDF8FD8@icicle.io> <05f101d0c838$fcdab5e0$f69021a0$@belski.net> <55B63FDF.6050100@gmail.com> <55B66494.1020106@gmail.com> <55B6707A.3040405@gmail.com> Date: Sun, 2 Aug 2015 06:48:34 +0900 X-Google-Sender-Auth: 4TulrP3Rl2zFqh-kJgVg0D-Uffo Message-ID: To: Niklas Keller Cc: Scott Arciszewski , Rowan Collins , Anthony Ferrara , PHP Internals Content-Type: multipart/alternative; boundary=001a1139e11c4ebd7c051c46e83b Subject: Re: [PHP-DEV] Core functions throwing exceptions in PHP7 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1139e11c4ebd7c051c46e83b Content-Type: text/plain; charset=UTF-8 Hi Niklas, On Sat, Aug 1, 2015 at 5:50 PM, Niklas Keller 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 --001a1139e11c4ebd7c051c46e83b--