Re: Last steps towards 5.3.0

From: Date: Wed, 10 Jun 2009 22:10:17 +0000
Subject: Re: Last steps towards 5.3.0
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-44229@lists.php.net to get a copy of this message
Hi Guilherme, Nuno, On Wed, Jun 10, 2009 at 9:38 PM, Nuno Lopes<nlopess@php.net> 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

« previous php.internals (#44229) next »