Only variable references should be returned by reference
Posted: Tue Apr 11, 2006 10:27 am
Hi,
I am trying to install Xoops Custom Installation, and I am getting the following error
"Notice: Only variable references should be returned by reference in C:\Apache2\Apache2\htdocs\xoop\html\install\class\textsanitizer.php on line 96"
Line 96 of textsanitizer.php is:
Can someone help me figure out what is wrong here. Thanks.
Nina
I am trying to install Xoops Custom Installation, and I am getting the following error
"Notice: Only variable references should be returned by reference in C:\Apache2\Apache2\htdocs\xoop\html\install\class\textsanitizer.php on line 96"
Line 96 of textsanitizer.php is:
Code: Select all
/* for displaying data in html textbox forms */
function &htmlSpecialChars($text)
{
return preg_replace("/&/i", '&', htmlspecialchars($text, ENT_QUOTES));
}Nina