ID: 24687 Updated by: [EMAIL PROTECTED] Reported By: nologic at pchome dot com dot tw -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: windows2000sp4 PHP Version: 5CVS-2003-07-16 (dev) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php .. Previous Comments: ------------------------------------------------------------------------ [2003-07-16 19:00:30] nologic at pchome dot com dot tw Description: ------------ apache_2.0.47-win32-x86-no_ssl XOOPS203 ( http://www.xoops.org ) For install: php5-win32-200307162230 => Fatal Error ! php4.3.2 => succeeded ! sorry...my English is poor. Reproduce code: --------------- class TextSanitizer { function &htmlSpecialChars($text) { line 96 -> return preg_replace("/&/i", '&', htmlspecialchars($text, ENT_QUOTES)); } } Expected result: ---------------- Fatal error: Only variables or references can be returned by reference in D:\www\xoops2\html\install\class\textsanitizer.php on line 96 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24687&edit=1