Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39016 invoked from network); 8 Jan 2017 11:31:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2017 11:31:41 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.161 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.161 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.161] ([81.169.146.161:25409] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/D4-31343-C1322785 for ; Sun, 08 Jan 2017 06:31:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1483875097; l=1530; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=iYoe1TG/PHwyMqwZ8216UOWXKng+cn3BOnWzpoaK/vE=; b=OLIlSMj9Qklax8cvAe36wAjtxznmxYYHLOPXq7bb7Bdc2oAKAGjOXapbYgMCIVt1ZS 54FV+SlwNTRLmsg2uiOCGTJv7TO68e/0xU5a6zbl+AZBD/4BxXirF6bARYpaWVw8gYHt t6+qXQ5OlvGgfn6LWc1/94FpZRlS1DrlBVTas= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNJBqD/ufY= X-RZG-CLASS-ID: mo00 Received: from mail-qt0-f179.google.com ([209.85.216.179]) by smtp.strato.de (RZmta 39.11 AUTH) with ESMTPSA id Y0bf58t08BVb31n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Sun, 8 Jan 2017 12:31:37 +0100 (CET) Received: by mail-qt0-f179.google.com with SMTP id l7so65955913qtd.1 for ; Sun, 08 Jan 2017 03:31:37 -0800 (PST) X-Gm-Message-State: AIkVDXIDD2YWeRTEBIzDLRUEQZDNvsqrCV38c72ykdfhuQZLftArXu+tIEirOVTCjWYYvLFjVn2s+XLrUJ3Fng== X-Received: by 10.200.36.246 with SMTP id t51mr79161218qtt.125.1483875095550; Sun, 08 Jan 2017 03:31:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.141.204 with HTTP; Sun, 8 Jan 2017 03:31:35 -0800 (PST) In-Reply-To: References: Date: Sun, 8 Jan 2017 12:31:35 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Wes Cc: Marco Pivetta , PHP Internals List Content-Type: multipart/alternative; boundary=001a113744a6f6270d0545939728 Subject: Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization From: me@kelunik.com (Niklas Keller) --001a113744a6f6270d0545939728 Content-Type: text/plain; charset=UTF-8 > > linking to the discussion thread http://externals.io/thread/573 because I > don't have much more to add. > > I think the throwable's code is almost never used regardless, but this > could give users more opportunities to do something useful with it as > Niklas stated in previous thread. > Hi Wes, why did you go for `mixed` instead of `string|int`? Error codes being objects still doesn't make sense to me. Regards, Niklas --001a113744a6f6270d0545939728--