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

From: Date: Wed, 01 Nov 2000 17:22:53 +0000
Subject: PHP 4.0 Bug #7124 Updated: similar_text() function definition
Groups: php.dev 
Request: Send a blank email to php-dev+get-36688@lists.php.net to get a copy of this message
ID: 7124 Updated by: sniper Reported By: raydjiss@ifrance.com Status: Closed Bug Type: Strings related Assigned To: Comments: No feedback. Previous Comments: --------------------------------------------------------------------------- [2000-10-18 06:00:03] stas@php.net Failed to reproduce on 4.0.3. Please provide short code example reproducing this problem. --------------------------------------------------------------------------- [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 (#36688) next »