Re: Last steps towards 5.3.0

From: Date: Thu, 11 Jun 2009 08:35:35 +0000
Subject: Re: Last steps towards 5.3.0
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-44239@lists.php.net to get a copy of this message
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.
Oh, very nice, Paul ;) I wasn't aware of this script. btw, does it perform inlining of included files? (so that you can have a self-contained reduced file) Nuno

« previous php.internals (#44239) next »