In the file: trunk/classes/phing/Project.php, there is a method _makeCircularException defined at line 840.
This method mentions a local variable $c, which is uninitialized and referenced only in the while of a do/while loop.
It seems that $c will never = $end and therefore the loop is infinite.
If I am correct, then I think it probably should be coded as:
function _makeCircularException($end, $stk) {
$sb = "Circular dependency: $end";
do {
$c = (string) array_pop($stk);
$sb .= " <- ".$c;
} while($c != $end);
return new BuildException($sb);
}
Thanks, Scott Pascoe