Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76297 invoked from network); 10 Sep 2017 01:24:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2017 01:24:11 -0000 X-Host-Fingerprint: 95.148.131.225 unknown Received: from [95.148.131.225] ([95.148.131.225:2586] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/9A-10715-73494B95 for ; Sat, 09 Sep 2017 21:24:10 -0400 Message-ID: <82.9A.10715.73494B95@pb1.pair.com> To: internals@lists.php.net X-Mozilla-News-Host: news://news.php.net:119 Date: Sun, 10 Sep 2017 02:24:04 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 95.148.131.225 Subject: [RFC] [Discussion] JSON_THROW_ON_ERROR From: ajf@ajf.me (Andrea Faulds) Hi everyone, Craig Duncan previously sparked discussion here about JSON's error-handling behaviour. Unfortunately, his attempt to change it seems not to have gone anywhere, but I have his blessing to try this other approach instead. So here's an RFC: https://wiki.php.net/rfc/json_throw_on_error The feature can be described in a single paragraph (in fact, the title is pretty much enough, the patch is just detail) but it's better to go through the proper RFC process. Please tell me what you think. Thanks! -- Andrea Faulds https://ajf.me/