Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97586 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57645 invoked from network); 8 Jan 2017 15:20:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2017 15:20:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=netmo.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=netmo.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.51 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.215.51 mail-lf0-f51.google.com Received: from [209.85.215.51] ([209.85.215.51:36468] helo=mail-lf0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/28-31343-9A852785 for ; Sun, 08 Jan 2017 10:20:09 -0500 Received: by mail-lf0-f51.google.com with SMTP id o140so26010368lff.3 for ; Sun, 08 Jan 2017 07:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=anBk5TX4U3Ti6FBWKc4KXug3BJKokUE66ItJuttN0vE=; b=uDm58I6ZQAWLQ0LVOq83tTs12f65ZfKQUA4QLhwuyLfGuGpBZKpzVhX3k2fJ6zmNWv 8dU7YbCy8mJP5v9gVe68/m/RG8Z7a/YOvvGMvZgYwfF4W8fVwL0mUttCVFee1ngHiNX7 kqFkRw2s62pjQHkcSZHg59bP4l10+T1xx9al0X4FFxWiBCogLmIbYilaExIj/fhtjHk6 x4TJ9oWKsiiDVY6CfWzvmMhKwLfnLbmXwiQtmhqJhYFfocnsi0nTeg1c4WrHg1WhU4yW CZcuQZ58Kj+hoeH4KoJKUZP9xZJvjKuFfyD8SrguZMI88v4Wbm/T0+65St6R9wRpGwpA HYRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=anBk5TX4U3Ti6FBWKc4KXug3BJKokUE66ItJuttN0vE=; b=io3kF8Gls7RZ68yUdw98Xzkez/8S9h8LMtmfnJhT+jEKzvwKQaDINMQLctlzvOEeNl YQNJecCIOHkaop54gT1TGM6c6QziC6Ax2UAAJWaJuukw73VQtCW3tSYiYRt7U0rZqmNC jkvuZWNt2mPD8FXsx8juDZvIhKyhql1EgJDkZ7RPb+v4tLZ3kVMZrWuJhEjH0aubuLkS 8azT3+iixc6L2l2+mTBUW+xCUmvi++nI901Y4Ol/G9xS6AAXExQPPaHnV/a6MNRt0V8D n71xrh8l7kJB/QVCAJE1F4w7/gvktY/6CraNAnax/8L+wU9mpP5I90tuYyb/qFJNSEd5 ny+w== X-Gm-Message-State: AIkVDXLIgyDLDs/Xo51YIwg2aUV7EewMOlsL/bHzWbcVnIXxoJuMdzCJhmL+37WYKeLrnp+0tp6XVL5Vi+GYtg== X-Received: by 10.46.21.68 with SMTP id 4mr29690659ljv.11.1483888805477; Sun, 08 Jan 2017 07:20:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.12.102 with HTTP; Sun, 8 Jan 2017 07:20:04 -0800 (PST) In-Reply-To: References: Date: Sun, 8 Jan 2017 16:20:04 +0100 Message-ID: To: Niklas Keller Cc: PHP Internals List Content-Type: multipart/alternative; boundary=f403045f749423031c054596c936 Subject: Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization From: netmo.php@gmail.com (Wes) --f403045f749423031c054596c936 Content-Type: text/plain; charset=UTF-8 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. --f403045f749423031c054596c936--