PHP 4.0 Bug #7124 Updated: similar_text() function definition

From: Date: Wed, 18 Oct 2000 10:00:03 +0000
Subject: PHP 4.0 Bug #7124 Updated: similar_text() function definition
Groups: php.dev 
Request: Send a blank email to php-dev+get-35390@lists.php.net to get a copy of this message
ID: 7124 Updated by: stas Reported By: raydjiss@ifrance.com Status: Feedback Bug Type: Strings related Assigned To: Comments: Failed to reproduce on 4.0.3. Please provide short code example reproducing this problem. Previous Comments: --------------------------------------------------------------------------- [2000-10-10 14:17:17] raydjiss@ifrance.com 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7124

« previous php.dev (#35390) next »