Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98335 invoked from network); 8 Jan 2016 18:38:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2016 18:38:40 -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.43 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.43 mail-wm0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:37329] helo=mail-wm0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/78-55593-F2200965 for ; Fri, 08 Jan 2016 13:38:39 -0500 Received: by mail-wm0-f43.google.com with SMTP id f206so184623501wmf.0 for ; Fri, 08 Jan 2016 10:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=WGHX9IYjVj+6ETRVIoOk7W/B1CuwvnOXLHYq6SmifLw=; b=k4vzFOEzQ/Clqak89gsJu8hbKUU+MA8AIabfRz99UoxMqynYJ3G3PYp9qeVpqAtbF7 Wqot20z5wQSl1IRAn4FFFFm7qoXJiSecHnX5C5xkKIA29MM1L/SnpJV0NNOall67Xp8B dE+HtY0fdhpDYWBf63vCPyhINE4uBoiW34uauFCfnrv6fawug0Cv8G/du/RFg5y793FA lSjG5y0xUTyodN8EgNpPpYyTEQJpfHx5RJHkkAZ8JBMkTVVrp/0Ze2BIX5AxYHTyqeBN XQE2PdEF2GT21JYiE8pxnsvj6AZXRp8+ORqO292lF9gwmB9gmTSUXWG35mkbUUeo4WJL YN+g== X-Received: by 10.194.117.163 with SMTP id kf3mr122030615wjb.139.1452278316765; Fri, 08 Jan 2016 10:38:36 -0800 (PST) Received: from [192.168.0.137] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id t3sm107045499wjz.11.2016.01.08.10.38.35 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jan 2016 10:38:36 -0800 (PST) References: <568FDA4B.60005@gmail.com> <568FFE13.2010304@gmail.com> To: "internals@lists.php.net" Message-ID: <569001C1.6000506@gmail.com> Date: Fri, 8 Jan 2016 18:36:49 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: rowan.collins@gmail.com (Rowan Collins) Ryan Pallas wrote on 08/01/2016 18:29: > I agree with Dan on this one. Trying to use an invalid type as a key > should produce something. Your argument that its garbage and you don't > care may be valid for a specific use case, but it may also be a bug in > another case But that has nothing to do with using exceptions rather than some other mechanism. I am completely in favour of making warnings better categorised, and easier to handle, but exceptions are not the way to do that. It's a case of seeing nails because you're holding a hammer - exceptions exist, so people want to use them everywhere. Regards, -- Rowan Collins [IMSoP]