Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97590 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69553 invoked from network); 8 Jan 2017 18:22:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2017 18:22:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.219 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.219 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.219] ([81.169.146.219:28262] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/E9-31343-E7382785 for ; Sun, 08 Jan 2017 13:22:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1483899771; l=1439; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=Q6SBCNT0J8ZmMF78feSp9+F1ZaCEGh/UK3z69duy+9Q=; b=N+KY7SsPrsSRSYXIhzGweNpGqfUSGMI0ZWndb3LiWZ7dpFz7Y6MYjCF8tsI7xuWRqZ iY7iUbhsfzzJSryuxyPCtPuAtNZ+alquvdXc1+cCVve8ULgq6JqLV0hE6nj0j2BRmCg5 QnyhhA2mW+2c3pNgirxcdvBI4TOmpP5mq/gcc= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNJBqD/uJQ= X-RZG-CLASS-ID: mo00 Received: from mail-qt0-f178.google.com ([209.85.216.178]) by smtp.strato.de (RZmta 39.11 AUTH) with ESMTPSA id 309fb5t08IMpSU2 (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 19:22:51 +0100 (CET) Received: by mail-qt0-f178.google.com with SMTP id v23so119473831qtb.0 for ; Sun, 08 Jan 2017 10:22:51 -0800 (PST) X-Gm-Message-State: AIkVDXJJqZM1d/Ab9IaZ7UPpVv03j2BtH0pJkOnPuyuwak9Yl15avlv+l7tKa6L+ni6uWfYI1n2Cm+iU83ZOBw== X-Received: by 10.237.47.166 with SMTP id m35mr73406307qtd.93.1483899771016; Sun, 08 Jan 2017 10:22:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.141.204 with HTTP; Sun, 8 Jan 2017 10:22:50 -0800 (PST) In-Reply-To: References: Date: Sun, 8 Jan 2017 19:22:50 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Wes Cc: PHP Internals List Content-Type: multipart/alternative; boundary=94eb2c123d7cbbe2c305459956f6 Subject: Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization From: me@kelunik.com (Niklas Keller) --94eb2c123d7cbbe2c305459956f6 Content-Type: text/plain; charset=UTF-8 2017-01-08 16:20 GMT+01:00 Wes : > I don't see how objects are less important than strings. Many of us have > enum-ish kind of objects in their code, even if php doesn't support them > natively. We could consider using them as error code if this was allowed. > An object is nothing I can really stringify and use in log aggregations. Regards, Niklas --94eb2c123d7cbbe2c305459956f6--