Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96292 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45530 invoked from network); 7 Oct 2016 20:04:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2016 20:04:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.161.177 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.161.177 mail-yw0-f177.google.com Received: from [209.85.161.177] ([209.85.161.177:34582] helo=mail-yw0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/F2-20821-8EFF7F75 for ; Fri, 07 Oct 2016 16:04:57 -0400 Received: by mail-yw0-f177.google.com with SMTP id w3so11475531ywg.1 for ; Fri, 07 Oct 2016 13:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=WiT98X2/n133sCBzQuXUAwpDpVeYK+gL4ES71Lnre3s=; b=ObS7vcKmTEKOapp+CJsq+Pknw4xwyjhfMlHacuiF4KgNfyX259l4xiq6ed+nljwlsw uakd6i/dwkN4EfgYhUAjPicw4uU/3Uu34l2rnkn0yeuJY8KhfsJrnAq3FPza6RIcSMdX 1WBIH2P25XqGowyfOVWtEtRvVHcUwXyOnPQzIw+w3OImj0xJYBgOjpi8wIt2pkWKJXsY 5b81/i1lL2YEjNTxZIh/hDU2K3hEs3AwV4GapT3K3AF5brOx+u7DXsRahqWrFHG6o8pA 7MUvPRwRy3bVEbPh8kVKX/76zZGejaj+DwEhO4zhWQzWIFOBGalWrKCyu3mgchh4f2bY XiVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=WiT98X2/n133sCBzQuXUAwpDpVeYK+gL4ES71Lnre3s=; b=ioa15CRfxFnro9S4cEk3BgnRPCMDZZvTrptqwtIJ3LHiaB84dfoS5SZrQ+FB/FGLWu IK3u0NeTkhVPJoTOMUy1VvHIvDS/HWGfsiXDjSSraC1XPx0HRjfFRwgtIhrVSPfI2YFA vzoyAnJTbaxBeQWcDjz1+gOkfqT+QcfrE9cwp4Ie7h6+l7A+kpBrKK7Yik4pBTMF3ClT 7RigR9IipIm4mefDkta6FDdWIYeIC74Dzc1yQ+7Omq+SZZ9amnDrI/qXMdFHHXKbD1Zc +8fKoHumDGxbmmNje99KYwb+fbaGh0y+OA8AHR3zGlfKUBpaaw3xjulnLKwuxUgc21yp YgTQ== X-Gm-Message-State: AA6/9RlgRILm8wFECDShMZw56zOLvoySuy4e/dR1jjOpDLEVXH8/ozCcMkWqRUQYt4kLC4riitBFi3A3E+tBx0KA X-Received: by 10.129.51.142 with SMTP id z136mr15782554ywz.352.1475870693591; Fri, 07 Oct 2016 13:04:53 -0700 (PDT) MIME-Version: 1.0 Sender: me@daveyshafik.com Received: by 10.129.179.8 with HTTP; Fri, 7 Oct 2016 13:04:52 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Oct 2016 13:04:52 -0700 X-Google-Sender-Auth: Vg60oNvyNvunRa-sigsUO3031PY Message-ID: To: Nikita Popov Cc: Derick Rethans , PHP Developers Mailing List Content-Type: multipart/alternative; boundary=001a114225966d69ad053e4becfe Subject: Re: [PHP-DEV] Regression between RC1 and RC2? From: davey@php.net (Davey Shafik) --001a114225966d69ad053e4becfe Content-Type: text/plain; charset=UTF-8 Yes, we should not mask the exception. The behavior in 7.0/7.1.0RC1 is much better IMO. (As seen here: https://3v4l.org/EJpD4#v700) - Davey On Fri, Oct 7, 2016 at 12:52 PM, Nikita Popov wrote: > On Fri, Oct 7, 2016 at 9:31 PM, Derick Rethans wrote: > > > Hi, > > > > I was looking at Xdebug for PHP 7.1, and I ran into the following > > inconsistency: > > > > https://3v4l.org/tHteN > > > > I first thought that Xdebug was messing up, but it seems like it's > > different behaviour in PHP itself. As I clearly return an array from > > __debugInfo, I don't think the new result is the correct one. > > > > cheers, > > Derick > > > > This is due to https://github.com/php/php-src/commit/ > 2d8ab51576695630a7471ff829cc5ea10becdc0f, which landed in PHP-7.0 as well. > The problem is that __debugInfo currently is not able to handle exceptions > gracefully. I think we should revert this change for now as it hides the > fact that the underlying cause of the error is an exception. > > Nikita > --001a114225966d69ad053e4becfe--