Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62096 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80099 invoked from network); 9 Aug 2012 06:07:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2012 06:07:01 -0000 Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 74.125.82.42 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 74.125.82.42 mail-wg0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:64523] helo=mail-wg0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/52-00812-48353205 for ; Thu, 09 Aug 2012 02:07:01 -0400 Received: by wgbfm10 with SMTP id fm10so38924wgb.5 for ; Wed, 08 Aug 2012 23:06:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:from:to:cc:references:subject:date:mime-version :content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole :x-gm-message-state; bh=yj27altnUALFzClLVVwIl2mO042MN6N5uMZ0Ot4avdE=; b=k4xXyeTRmpQv8F9nlPyDnS+b9fVrKo5JoXVdzO6BQq7U8VjVEg1liYrfSEhvCTtR9E ZFrVNsGVgmfQAjFs58fTTpY7eOyo/Kfr+4siqrx3jD9cwvRQjVcZwE+2A6Ebgl3xDJ/J l5KbA4nYqZG0vJESU5AGTacYqHjXdsocEcpaDXr6A9P4lbHCUU4znbtJc27oij16KmY0 dluEo54toMLEy/sAv6C7Za5gEpxZwq+nDoMs3E6+V4GM+b4sLiN4iKHAS6nabs977ofZ S2FvSE642dxcuY3ADe3D4eyFM4oNfIRK6KIs/irjzQ8dsw832lYQqZM6h7SnWUgz+7dA M4FQ== Received: by 10.180.19.169 with SMTP id g9mr4046167wie.9.1344492417742; Wed, 08 Aug 2012 23:06:57 -0700 (PDT) Received: from pc (95-42-66-13.btc-net.bg. [95.42.66.13]) by mx.google.com with ESMTPS id ck9sm1322wib.2.2012.08.08.23.06.55 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2012 23:06:56 -0700 (PDT) Message-ID: <3E3A531D90FC43B8B7E9CDD37F1EEE40@pc> To: "Nicolas Grekas" , "Ferenc Kovacs" , "PHP Internals" Cc: "Andrew Faulds" , "Etienne Kneuss" , "Stas Malyshev" References: Date: Thu, 9 Aug 2012 09:06:32 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01CD760E.44DDD1E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Gm-Message-State: ALoCoQkcehuWO8yV9Pw5PrBGYTJqRQomnGFIlTHtIBSkRvMg7k1aokqL1dOyk/JhqEcx5ZTp2mjx Subject: Re: [PHP-DEV] Error handling brainstorming From: sv_forums@fmethod.com ("Stan Vass") ------=_NextPart_000_000D_01CD760E.44DDD1E0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable The overall mood seems to be that since PHP has an error handler, = everyone is free to handle errors any way they want. Everyone is surprisingly ignoring the two giant holes in that theory: 1) PHP Errors come with a severity code and a string message. You want = to handle specific errors in a specific way? You better start writing = giant regexes parsing the string messages. 2) When everyone starts handling errors in their own way with error = handlers, you can't reliably use third party code. You are in your own = universe. Stan ------=_NextPart_000_000D_01CD760E.44DDD1E0--