Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97625 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73186 invoked from network); 9 Jan 2017 14:35:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2017 14:35:17 -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.52 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.215.52 mail-lf0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:33291] helo=mail-lf0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/CA-31343-0AF93785 for ; Mon, 09 Jan 2017 09:35:14 -0500 Received: by mail-lf0-f52.google.com with SMTP id k86so95808513lfi.0 for ; Mon, 09 Jan 2017 06:35:12 -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=vcuPnHSVGdp4TkROqrtGuDkZ9ndC08Wdhjjq2Zpob8g=; b=bFxt0WDC0+GPOeSsSp/jE/HMKfPfhI0G2u0ZZqqEM54E+obznIEiXQAL0khx2n1n1i SWMkCk/oPCdpE7iI0MwdKub/TpHG9rE/LzK97U2h1Xu+BMZ+VVMkEhJFpc+Sf4zcJCcV SdbGw9iGpx5sWa4kJjr7yX3CPZThxz3ErZ78vxMblFh8dadetUAT0KyX+KiYvpbs0kFn MM/X9c7LfcpCJd9MIpPBynDjLNpGbZFV97K5ue78wjOD7560ru8QcqztbT3OoXecuWj+ NRgfHnQM25vjn5TGu79rFrQBMQJqAEgv0TgsF/XBuXh1QnaVyvHzPRFihle2nQzLJ5pk y6LA== 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=vcuPnHSVGdp4TkROqrtGuDkZ9ndC08Wdhjjq2Zpob8g=; b=GC8Mb50e3owWp/AUVXBWTqJZt62wr9ShncO4158ZiCK+2qENHwt0gFuticQyL9bHOk Hs3lMbVK/xafmKiSCkMugqIsa2js1Acm0JzRFUhlTvF8LQIPfbHLdHTdu3A036DXoNvq A6xqC74eawh/9t7KmfwK+PaB5seEu8ERnUQ7BCNFQ7oibIDPiVRrWuwGHkrVTBEpt2C3 LJE9EyY7PaI2+McdWtXmXDOCnlT0gV4BLWc/J0PqShwMFE8Tx8rQ1MJTbsKfNFTkFp/y n0UM0IC5mn2LYu3qXxYmmU1q3WfO5cn0ZbqoXkDIflJGn+UX7keEj6S1WtoLN+zwy/aF /XxQ== X-Gm-Message-State: AIkVDXLeZnlUee2d++7fWEbsMhJ9n5pIUGuMfx7hgB1m4MbiXO2tsGv2MnuFLpq+EQmzPyxTjiVreSWlg5dBqg== X-Received: by 10.46.15.26 with SMTP id 26mr610463ljp.52.1483972508516; Mon, 09 Jan 2017 06:35:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.12.102 with HTTP; Mon, 9 Jan 2017 06:35:07 -0800 (PST) In-Reply-To: References: Date: Mon, 9 Jan 2017 15:35:07 +0100 Message-ID: To: Marcio Almada Cc: PHP Internals List Content-Type: multipart/alternative; boundary=f403043604f23a061d0545aa46b4 Subject: Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization From: netmo.php@gmail.com (Wes) --f403043604f23a061d0545aa46b4 Content-Type: text/plain; charset=UTF-8 that is actually a good point Marcio. 2017-01-08 21:10 GMT+01:00 Marcio Almada : > Hi Wes, > > 2017-01-08 15:44 GMT-04:00 Wes : > >> Yes, you can. >> http://php.net/manual/en/language.oop5.magic.php#object.tostring :P >> > > It's still not guaranteed that the returned value is "stringifiable" as it > was before. Logging code would now need is_object + method_exist checks and > so on. > > I'm considering to go -1 on this change. > > --f403043604f23a061d0545aa46b4--