Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66366 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10568 invoked from network); 28 Feb 2013 21:23:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2013 21:23:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.181 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.128.181 mail-ve0-f181.google.com Received: from [209.85.128.181] ([209.85.128.181:59066] helo=mail-ve0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/61-25879-7BACF215 for ; Thu, 28 Feb 2013 16:23:03 -0500 Received: by mail-ve0-f181.google.com with SMTP id d10so2277959vea.40 for ; Thu, 28 Feb 2013 13:23:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=V7oJYCZzkS+JOFsZfir/GJfbaRu09j1nEBSE4qdg1T0=; b=RP6AV/GHaIn6EbFiZ9VxBXw52N8YrRO4yar0Ds6vv9X6LS7dpNp0ONyZmr746bagLv K9WWEzDVpL3QSZHSAY6hFLnv6/rUeV4u4WiII6qi5ngB6u/TIB63W/nHR1BZyE8Jz2zc v9XkE6spyoub2mDDlte+PcLUrwjSNtWk5bl76E4MyvEQbAfNv3XpWH9yKVeF3PWGgU8A hLCU2LW3BBhjbceKXpQucQjn7+glFSrQsPFzGdMhfNwjuydVBIBWRHp5KE2k0L76RqsR 9n4g71da5GMDycU8FeXaHEh4oTyAgh7kEa+Xd/R3J/uhG6l2V5shnyv/2NWx6hJ8ksVs yBpQ== MIME-Version: 1.0 X-Received: by 10.52.32.69 with SMTP id g5mr2746806vdi.81.1362086580365; Thu, 28 Feb 2013 13:23:00 -0800 (PST) Received: by 10.58.56.137 with HTTP; Thu, 28 Feb 2013 13:23:00 -0800 (PST) In-Reply-To: References: Date: Thu, 28 Feb 2013 16:23:00 -0500 Message-ID: To: Derick Rethans Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=bcaec51d2576c6e0ed04d6cf7ea7 Subject: Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5 From: ircmaxell@gmail.com (Anthony Ferrara) --bcaec51d2576c6e0ed04d6cf7ea7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Derick: On Thu, Feb 28, 2013 at 3:39 PM, Derick Rethans wrote: > On Thu, 28 Feb 2013, Anthony Ferrara wrote: > > > Based off of the recent discussion around pulling in ZO+ into core, > > I've come to the conclusion that we should also pull in XDebug and > > Suhosin into core at the same time. > > Suhosin has a large performance impact (even the normal patch, without > turning on anything). > > > 3. Both stand as a barrier to adoption as many will not run PHP in > > development without XDebug > > What do you mean? > > derick@whisky:~/dev/php/xdebug-xdebug $ TEST_PHP_EXECUTABLE=3D`which php` > php -dxdebug.auto_trace=3D0 run-tests.php > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > PHP : /usr/local/php/5.5dev/bin/php > PHP_SAPI : cli > PHP_VERSION : 5.5.0-dev > ZEND_VERSION: 2.5.0-dev > PHP_OS : Linux - Linux whisky 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 > x86_64 > > =85 > > Number of tests : 234 221 > Tests skipped : 13 ( 5.6%) -------- > Tests warned : 0 ( 0.0%) ( 0.0%) > Tests failed : 0 ( 0.0%) ( 0.0%) > Expected fail : 1 ( 0.4%) ( 0.5%) > Tests passed : 220 ( 94.0%) ( 99.5%) > --------------------------------------------------------------------- > Time taken : 16 seconds > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > It appears that xdebug is borking generator exception handling. Without xdebug the following two tests pass, but with it they fail: Generator::throw() where the exception is caught in the generator [Zend/tests/generators/throw_caught.phpt] Generator::throw() where the generator throws a different exception [Zend/tests/generators/throw_rethrow.phpt] And I'm not saying that you're not doing a good job keeping it up. I'm just saying that it needs to be kept up, so why not put it right in core where it can be maintained together. The only difference between this and ZO+ in this case is... Well, there really isn't one. Both opcode caches and debuggers are WIDELY installed. Both are blockers for upgrading. Both are supported well (now that ZO+ is open sourced that is). So the drive and justification for pulling one into core should completely fit the other... --bcaec51d2576c6e0ed04d6cf7ea7--