Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44229 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80951 invoked from network); 10 Jun 2009 22:10:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2009 22:10:41 -0000 Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.92.26 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 74.125.92.26 qw-out-2122.google.com Received: from [74.125.92.26] ([74.125.92.26:29792] helo=qw-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/31-07447-F5F203A4 for ; Wed, 10 Jun 2009 18:10:41 -0400 Received: by qw-out-2122.google.com with SMTP id 9so707201qwb.59 for ; Wed, 10 Jun 2009 15:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=kp3jxalHunnIMQkn+rWBbbfhi7w0nL3VcoOWDJ4TT0k=; b=k2alzM7i+6g0iN/xfCxp6B4yeSCtO0Y5KqXm7XHGiMJAukc8UviBq5DDilkkPd2m8v dcrC09oAcwelp7EMeuKw6BdGFY/RdaA3zHXBfpcNzh5eqiYgA9olha2UavozNJORDk/G QGdV2y2Ys+BvPMyGIU7TVavE5VKSxobty7Z24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=qcHIv3DpCNr+FBEP7Z3zKvruVEmr3ICcskgfOUZyJ4HdQppmrAU1G/KqbmEKp4RZ0K W9k30Q4ITMrv1rqbJzE5RC8KmS9wa9T2J1MIU1nE+TtHgXWnhxTaaGiLWjujn8PKXcol mQ1Twtjg3L3wqQQ6hKzESthinwCfvZf6OpG3s= MIME-Version: 1.0 Received: by 10.231.14.133 with SMTP id g5mr854771iba.27.1244671837080; Wed, 10 Jun 2009 15:10:37 -0700 (PDT) In-Reply-To: <40FA7DAAEDB842BDA8AB74CC7FF1164F@PC3EE1F19287> References: <1244645012.6252.110.camel@goldfinger> <40FA7DAAEDB842BDA8AB74CC7FF1164F@PC3EE1F19287> Date: Wed, 10 Jun 2009 23:10:17 +0100 Message-ID: To: Nuno Lopes Cc: Guilherme Blanco , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Last steps towards 5.3.0 From: paul.biggar@gmail.com (Paul Biggar) Hi Guilherme, Nuno, On Wed, Jun 10, 2009 at 9:38 PM, Nuno Lopes wrote: >> PS: If someone wants to give a hand to find the regression... I can >> explain how to reproduce. > > The easiest way is to use a tool to help reducing the test case > automatically. > I don't know about any specific tool for reducing PHP files, but in the past I wrote a tool which automatically. It uses the delta debugging algorithm, but is very much faster than delta, since it knows how PHP works. I hope its also easier to use - you basically write a function which takes source code, and returns true if the bug is still present. Its at http://code.google.com/p/phc/source/browse/trunk/test/framework/reduce/Reduce.php. You need to a copy of phc (phpcompiler.org) as well. The usage is explained in the comments. I've used it a lot, but I've only just made it work more generally. Please report any problems to me. Paul -- Paul Biggar paul.biggar@gmail.com