Vasiliy - 2006-09-14 21:06:50
It seems to me that this class wasn't properly tested before submission. I have found another bug in clear_href function.
If you pass to clear_href a single value - everything will be OK, but if you try to pass there an array it doesn't work.
the bug is here
while (list ($Ref,$val) = each ($href) )
{
unset($this->PARSEVARS[$Ref]);
}
in this case the $Ref contains 0,1,2, ... , other indexes
to my mind it will bt better to use foreach statement
foreach ($href as $value)
{
unset($this->PARSEVARS[$value]);
}