PHP 4.0 Bug #7124: similar_text() function definition
| From: | raydjiss at ifrance dot com | Date: | Tue, 10 Oct 2000 18:17:17 +0000 |
| Subject: | PHP 4.0 Bug #7124: similar_text() function definition | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34614@lists.php.net to get a copy of this message | ||
From: raydjiss@ifrance.com
Operating system: win32 and linux
PHP version: 4.0.2
PHP Bug Type: Strings related
Bug description: similar_text() function definition
The parser sends the following warning message when trying to use the similar_text function :
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration of similar_text().
The PHP documentation specifies the third argument of the function must be passed by reference, so
the declaration of similar_text should be changed by adding an & in front of the 3rd arg to
force it to be a reference.
Hope it helps.
Raydjiss
--
Edit Bug report at: http://bugs.php.net/?id=7124&edit=1