Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43571 invoked from network); 7 Oct 2016 19:52:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2016 19:52:41 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.180 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.213.180 mail-yb0-f180.google.com Received: from [209.85.213.180] ([209.85.213.180:36510] helo=mail-yb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/A2-20821-80DF7F75 for ; Fri, 07 Oct 2016 15:52:41 -0400 Received: by mail-yb0-f180.google.com with SMTP id 191so19687291ybv.3 for ; Fri, 07 Oct 2016 12:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cAvwbAszBve4WdHZxouilx/VsoCfN49RCzF3VB3dWvg=; b=kaJAs8dV51F62MMYCXx4lMEBXSfZNVt4yBAL+2t57wJoqMtghWOqQulqN8zuTA2Qfu nMqsMH052SwugZrRpfuezYA620az5CsyNXGcAIXWMJRdcPE6nmnv3NJVEcZOzhSfdAkt A+kEONSRD3pvf6MnoX2ky3LJnlz/9kptopbVgK52TxnHU4PgaWFBBhaiuBtGlOSUyhRr TrVbHNHsiEUGujwZZEuVHwzoDP1BSLp6P6WQ2dxee9N59/dsBSvgjGXoRsGFuBFcrXHZ zJvNjTnJ/Jvl+/pIvLM0BjClik65HxJZzjnQ4/9xOjcAcykIEaRwErhDaygnIcB9++nd Uizw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cAvwbAszBve4WdHZxouilx/VsoCfN49RCzF3VB3dWvg=; b=NJn3+4AMK7p4dh1/nqgTlfIzJrUlCYi+RxvBRKnAn9i4+5m60t/1riIiHmlsom4jYn 3axbV/tAeLKdMP0xyEhemP77xI4/YUNjnFK8jnXEZS4dAgJ3fsMNF0/bqGrhRkN7/BXT 1sMGHee+dodfXsKWTYJZu0i10qERbXKRuDAOG+ZQkLGHJhOuo02EcKxXFJlUBlpmBS2e Bk4UHVGar9aOwtQA+DEHPlPgR2Ubu9PruWcud++mkUcPjqSy8e9ZW1uiIbsXXS0Dn4Mg f2i0DA639gYYwp8bkxnyqOVDCoM2o2cL61jTLahlYMK7gBmgoqAa6JDmkWjPv8r8p16T t0jg== X-Gm-Message-State: AA6/9Rl5Y2b67O9XRvJa0rsRj6RtoqjAb5V8+C3B6sNdJHeVeIWt+BqR/OL9262Ok5tcg1BOW1qrMUn2qpXgOg== X-Received: by 10.37.228.199 with SMTP id b190mr16894992ybh.156.1475869958330; Fri, 07 Oct 2016 12:52:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.204.129 with HTTP; Fri, 7 Oct 2016 12:52:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Oct 2016 21:52:37 +0200 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=001a114c77cc9a0fcf053e4bc0d8 Subject: Re: [PHP-DEV] Regression between RC1 and RC2? From: nikita.ppv@gmail.com (Nikita Popov) --001a114c77cc9a0fcf053e4bc0d8 Content-Type: text/plain; charset=UTF-8 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 --001a114c77cc9a0fcf053e4bc0d8--