Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73669 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28633 invoked from network); 11 Apr 2014 13:56:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2014 13:56:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:48337] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/93-02145-5A4F7435 for ; Fri, 11 Apr 2014 09:56:54 -0400 Received: by mail-we0-f170.google.com with SMTP id w61so5486148wes.1 for ; Fri, 11 Apr 2014 06:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zsOdjXS67I0adCrKsPhcjpfQc+iIQMwyBrGn6t7K1LA=; b=pchpqHqVgvg46kdLXicM4kpb4/T3uDIvkui/K6YoUFd3e1CJuFEf4H0dQOGxS+I40i c6YBk2krLfcPTKtK5KJW9mPeJPja5zU1lSA8sOLJ+SWXJOTKVyUKBFGYJtl3SfY3RhP8 oGZB92eDvZKvIlF30HYh2E1sYZXCplzgVAtMk3u+X557WTSC76Noi1a9+pyhCatQniAB qcp6i64QjH8jICPIud2AzDNY8tVYT4u9klli4j8H3G2mQhOMo1x36YJuaMegfEx2qdXH yEE4w7+2aE4C0hTNUPVE5bMq7ZqFfWhuhzlLT7cIp4KNs1er27S6ibiRu5qgN0QvhXa+ g/Pg== X-Received: by 10.195.13.76 with SMTP id ew12mr770228wjd.80.1397224610561; Fri, 11 Apr 2014 06:56:50 -0700 (PDT) Received: from [192.168.0.153] ([62.189.198.114]) by mx.google.com with ESMTPSA id u8sm11431732wjq.1.2014.04.11.06.56.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 06:56:49 -0700 (PDT) Message-ID: <5347F4A0.6010507@gmail.com> Date: Fri, 11 Apr 2014 14:56:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: PHP Internals References: <53446FC5.7000001@gmail.com> <53459231.2080402@gmail.com> <5345AE83.1070506@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PHP.next] Error-handling using "Error Events" From: rowan.collins@gmail.com (Rowan Collins) Julien Pauli wrote (on 11/04/2014): > That's the thing to do for PHP-Next. > PHP-Next will be a gap in rethinking and rewriting some technical > parts of the engine. > Error and exception management is one part that can benefit from a > rewrite. Well, yes, that was kind of the point of this e-mail thread ;) > We could change things in way that they are not too error > prone, and the change at user level is nearly invisible (e.g : rethink > the '@' internal handling). That would indeed be an option; however, it feels to me like saying "suppress all error messages" is only ever a workaround for some other requirement, so it's interesting to think if there are better solutions to the underlying problem, rather than/as well as better implementations of the current feature. Regards, -- Rowan Collins [IMSoP]