Possible Duplicate:
Assigning the return value of new by reference is deprecated
I'm trying to correct some mistakes that are displayed in my website, but I can not get rid of them.
For the following code:
$string = preg_replace('# +#', ' ', $string);
if($useHtml2text){
$string=new html2text($string);
$string=$string->get_text();
}
return trim($string);
}
I have this mistake
Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/modules/googleshopping/class/myTools.php on line 56
the line concerned is this one
$string=new html2text($string);
I've tried almost everything but it is still there.