Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90117 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39328 invoked from network); 5 Jan 2016 17:53:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2016 17:53:10 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.215.48 mail-lf0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:35599] helo=mail-lf0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/1B-12097-5030C865 for ; Tue, 05 Jan 2016 12:53:09 -0500 Received: by mail-lf0-f48.google.com with SMTP id c192so122481200lfe.2 for ; Tue, 05 Jan 2016 09:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DKzMud60GmltIEfH4OXWVL6RT+CYGqQUpSqPUziQn5A=; b=LFOYeMXOiyiecqk+0JYtGQVtHcTiUZoRKxmEIJPBxzEZbUlMnvKRzONiagi3NwGV2O hawzYUWbhNzfhCq0NkAQXaoZwWcRjH5g5By4IGyimEQWonRh9MMPzTz7VJ9Vk2X0lMyk XN7d6BBviC9lGlA4tNqp16esOa/x/M6SFvHKhjTUhQcCgaBVWhZm0F7oIAnA74jlL+mt XWQltolRD2yghqOZ7PpqGcB60f8V5lfBF5i2OrROvctzC4Wheg+4C6xUe778Zq9gS3wt Wk7PylGGOBdmCCEtDzIwzdv6lffAajBljounYHwgXcLWKtO2kJ7bjx+b14rBnEy7V2Wn Wz9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DKzMud60GmltIEfH4OXWVL6RT+CYGqQUpSqPUziQn5A=; b=QcMvNKn+1X1d9S6FvxDQ96IpGF10Ye4vT9qK2Z3lwNjbs8h9r7j2ix1KPju8lARhJ4 xWi5/v5SufFrvIg9J/Tb5Y3S1zlCN346WIxuFQaZJ3HXIbNDjxU/L0U+sFVtTMvqv/8E GW+0KR1Nq6lODZ74smrL3Pf1O0mV35sBXkihvZTJRpPNFlgq39vZgzOssr2Rfbzk7LTS ykMHXv8UcyJGgRfrDWx2sFSJ8PZMcMWSSBaXF2el3e2f9wu0DfTOXBfNj596lg9xU4LA x3JTzIULSXC3dBzKykYFDWQ2KDDGsdUGB2UCf3Ec0yv3evGsgAi8/cGOJq+fP6sBAVEI caKA== X-Gm-Message-State: ALoCoQld3wW11qzt7mO/fMtsvQ37ORGnbS9t0Cb6dYmg1NjSTT+/ytcuOPijVWXCXGwtBSoC2dQIJDCz5wX3BZYwMA3DkZtq8A== MIME-Version: 1.0 X-Received: by 10.25.28.80 with SMTP id c77mr32160020lfc.74.1452016386295; Tue, 05 Jan 2016 09:53:06 -0800 (PST) Sender: php@golemon.com Received: by 10.112.37.44 with HTTP; Tue, 5 Jan 2016 09:53:06 -0800 (PST) X-Originating-IP: [107.198.91.68] In-Reply-To: <4F.0A.12097.24FFB865@pb1.pair.com> References: <4F.0A.12097.24FFB865@pb1.pair.com> Date: Tue, 5 Jan 2016 09:53:06 -0800 X-Google-Sender-Auth: WI-n35Dy7HdrueEA_OkPeK1AWpg Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: pollita@php.net (Sara Golemon) On Tue, Jan 5, 2016 at 9:37 AM, Andrea Faulds wrote: >> How about a global "disable error suppression" setting? That way a >> project lead could enforce it for their codebase (and guarantee that >> devs "aren't lazy"), but PHP doesn't lose its pragmatism? > > I don't think that would work out too well. Remember that many projects have > error handles which convert all errors to exceptions: if you disable @ in > those projects, wouldn't their code break? > Nope. Supressed errors already reach custom error handlers: https://3v4l.org/TG8aA -Sara