Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105515 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28807 invoked from network); 30 Apr 2019 16:30:46 -0000 Received: from unknown (HELO mail-lj1-f171.google.com) (209.85.208.171) by pb1.pair.com with SMTP; 30 Apr 2019 16:30:46 -0000 Received: by mail-lj1-f171.google.com with SMTP id f23so12850947ljc.0 for ; Tue, 30 Apr 2019 06:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SC3DTwfUGmPcor+PUMgzMZLPEuc+8mGxZP8VUdXsrKU=; b=KRz/yDXaQnzT5Qazvwds7UUxSFaw0nsGq+rfCCtq5G1DGisrB7EjEOsE6tgZz3PNBo IpFzkXfF7r8/m1MkQhw0ru2LxbkiRmAS8B+bujAJ1mxZFfDBCbh9z2yBWw3URLJ2N25J tL+iMLRo2C4U7L2mknpgnuUQNJVC+94Y5mpikzcKfiomddxKtCb4fNaYoTG8bILf5YA8 Fpj2R3x8bd+x6N5tTtQ4hwEfykAXntPKGm+W4VSLXARC/GSIXC1W0fhJxMQwdStVIBX8 ryKXoUapbvsGA3bZ64Coc/qYcR+fJmxxj6bI3C+KyHoRwj/BNp+5+uwBieZqlfQV5s21 epjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SC3DTwfUGmPcor+PUMgzMZLPEuc+8mGxZP8VUdXsrKU=; b=IHE8y2kfsg+YfU2hgw86KI+0FoyrXtiiRQ7LzdTPyI+U2w1B7JR+/3wMBaNnQD4uoP XR5MsEGUR5HJTm8tCBc5B3AByPkCZR9Jij5Vy1PN8a67guN1OQv1igcRkwcxmoGJ2VlU jbRWUEc8uc2AdTT0J60V9UJMjpo9/HD6JutG1S+VbKbq8npI2YarUEw/C0yxL+iMkQWM BCE85OMPlO7GqBuB3Ul/V4wMeHbNNcHRE8JcRtPMLUKmWKLgboGNB81Yz95xzDMsNKBV /9DF64esPy643FqQyaWGVXKbzHT82mGG5lXqNt7j6frSwme0NNrjzskhr8FjBrbV3cAd 9itg== X-Gm-Message-State: APjAAAXiA6das9YPzrEqjpn6cQT2reHbVCSTH4LbI+vuxdpFxuzyD7Ar oRTp6KHGyFfFpbuC4wiuF1p2wTffE4Z2kMCRZTor8Un3cas= X-Google-Smtp-Source: APXvYqx4pDMpSvNH0cXBTZLa0TkkzvOde/Zp/D9FZyGsgfKL2hlV+ybgqWDgl30cHaasf2pSl/iSoOzo1EEKSRmIIIY= X-Received: by 2002:a2e:5ce:: with SMTP id 197mr6852522ljf.140.1556631174379; Tue, 30 Apr 2019 06:32:54 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 30 Apr 2019 15:32:38 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000003201e20587bf7009" Subject: [RFC] Allow throwing exceptions from __toString() From: nikita.ppv@gmail.com (Nikita Popov) --0000000000003201e20587bf7009 Content-Type: text/plain; charset="UTF-8" Hi internals, I've already brought up this topic on list a couple of weeks ago... I've now updated the implementation based on feedback at the time, and turned this into a proper RFC: https://wiki.php.net/rfc/tostring_exceptions Regards, Nikita --0000000000003201e20587bf7009--