Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100063 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87715 invoked from network); 27 Jul 2017 16:00:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2017 16:00:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@duncanc.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@duncanc.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain duncanc.co.uk from 209.85.220.176 cause and error) X-PHP-List-Original-Sender: php@duncanc.co.uk X-Host-Fingerprint: 209.85.220.176 mail-qk0-f176.google.com Received: from [209.85.220.176] ([209.85.220.176:37610] helo=mail-qk0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/61-10671-32E0A795 for ; Thu, 27 Jul 2017 12:00:36 -0400 Received: by mail-qk0-f176.google.com with SMTP id z18so24303266qka.4 for ; Thu, 27 Jul 2017 09:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duncanc-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HXIZlo1/E2BmChuS9/mEUK9zb9ghrp92P8n6/oaI8sY=; b=CVuALCnPC4sViZg3nkuyLgMj+Mg7ePKVwlCUOXNeIgmS0gh9GxoikCYqo+PcvOUtQt BQ1miJM7IDQYfVHOlvWFdQenBrxnbgr06UgPfpeMMUOqPHhBs65PuVE4amON9UqeB78y 2sWN69bfXr9nWJS3MbfjV2ITYUAGmcH2pP91+6ZaRYyK4+flfFXcMxTPzjRaWkbAEwNQ D6O0SP3E6UyYfAHHZ81pIWdYCg0QrC1pgD5twIR/LCkyDEGNT+m4jjNlJhbA5LWFBHic n+hOlUi+OdzCRk1pTUBd0Bm15djD+IZTungyLyfjk3WQm5AJmVWXcwc16J0aSqQEqFFz +sig== 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=HXIZlo1/E2BmChuS9/mEUK9zb9ghrp92P8n6/oaI8sY=; b=UmGa1cEuKyWavO0J3D6mPoOfNJ5e1qcTnKko5lb2Rlljal17D0xTUqQUpX8utOHwlp JtIXL4GRGWKaVjT8cEeXyDC8Xm5P2jZTWGlGKZpiQcp4O1ynxNYh9kQXxs3SUea41IWH 2NX26Qr8S4bnuBulZgn02vrWUT5zDGvNsgYO8yM3RnRi2BHuTM4Ozsuz4xtBinWpryc9 b9TQv2GC7XsUxIhctDAbvwCJgypVYDCIBidWhOH2BRnF8o7mBPjQ+kJpPcoSEt6ChpOo bUP6mQp+UeIJ+sk/QdYZaFwEEpGOgwp7R2qEF7VMFjNW3hkvMF95GBZcrxHQ+WvEh/qf SRKA== X-Gm-Message-State: AIVw111TXyCNXz2u+7EcTA20pz4g1CBauylZDpP19bv6gOoLEsyd+5UZ 4SMthqyvWi2UmIfxWzM= X-Received: by 10.55.110.67 with SMTP id j64mr6735137qkc.26.1501171233201; Thu, 27 Jul 2017 09:00:33 -0700 (PDT) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com. [209.85.220.177]) by smtp.gmail.com with ESMTPSA id v23sm11504232qkb.65.2017.07.27.09.00.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 09:00:32 -0700 (PDT) Received: by mail-qk0-f177.google.com with SMTP id a77so8154077qkb.0 for ; Thu, 27 Jul 2017 09:00:32 -0700 (PDT) X-Received: by 10.55.167.23 with SMTP id q23mr6665936qke.252.1501171231781; Thu, 27 Jul 2017 09:00:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.21.139 with HTTP; Thu, 27 Jul 2017 09:00:31 -0700 (PDT) X-Originating-IP: [195.99.194.20] In-Reply-To: References: Date: Thu, 27 Jul 2017 17:00:31 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Niklas Keller Cc: Internals Content-Type: multipart/alternative; boundary="001a114ff14404a8f405554eaa4d" Subject: Re: [PHP-DEV] json_encode() / json_decode() warnings From: php@duncanc.co.uk (Craig Duncan) --001a114ff14404a8f405554eaa4d Content-Type: text/plain; charset="UTF-8" On 27 July 2017 at 16:57, Niklas Keller wrote: > It should rather just throw exceptions. Warnings do not really allow error > handling, they just allow error reporting. > > Agreed, but I can't see Exceptions passing the vote. Warnings can be silenced by those that don't care and converted to Exceptions by those that do --001a114ff14404a8f405554eaa4d--