Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53306 invoked from network); 24 Oct 2013 19:35:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2013 19:35:36 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.52 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.52 mail-la0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:52372] helo=mail-la0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/CF-10840-68679625 for ; Thu, 24 Oct 2013 15:35:35 -0400 Received: by mail-la0-f52.google.com with SMTP id eh20so2295271lab.39 for ; Thu, 24 Oct 2013 12:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=U1CT9ah5amqM6CPBy3aKSpzgf27Tf+YP+d9XgoSf+HQ=; b=DLMgZoNDbT0unMQgzU4qotMY/UWrdA+2TAHIv6YEvgkvqwflblwMr2U9ZyS9LlkayR lYjkZYfQ/bnh7wO59SyA6ylJ7hJNLrCdjs27lcYQUZX88ZrfICj3uo/SsCtmHTn1Waw1 jofzbKzyjK/dKUN2SsmNLCRbLGVD25L4QoQpPQMmIaTGv1GJudW4BvLdZDnwRCZVFxNL elQ36Qvpe9hhoCvkCIRrviI9LUZdHCW56JFGC45qRz3jleOaYoD4k//m2x3IyZThB73r XUhLWcR7+tcs8jLL+H7II+33JeY/+K4DBLadHwlKl5DRmSAtU+p0JEwQ6CwoUIsqS+dJ B7ig== MIME-Version: 1.0 X-Received: by 10.152.120.73 with SMTP id la9mr2781361lab.3.1382643331184; Thu, 24 Oct 2013 12:35:31 -0700 (PDT) Received: by 10.112.198.98 with HTTP; Thu, 24 Oct 2013 12:35:31 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Oct 2013 21:35:31 +0200 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Exceptions in the engine From: pierre.php@gmail.com (Pierre Joye) On Thu, Oct 24, 2013 at 7:41 PM, Nikita Popov wrote: > Hi internals! > > I'd like to propose an RFC, which allows the use of exceptions within the > engine and also allows changing existing fatal errors to exceptions: > > https://wiki.php.net/rfc/engine_exceptions > > This topic has been cropping up in the discussions for several of the > recent RFCs and I think the time has come to consider moving away from > fatal errors. > > Thoughts? I like the idea, well done! I understand that this RFC refers to the engine only, however I think many exts may follow this path too. We should consider about naming conventions for the extensions as well. Another point, I'm wondering if 5.x is the right time to introduce exceptions in core. -- Pierre @pierrejoye | http://www.libgd.org