Re: PHP complains when using similar_text() as documented.
| From: | Peter Hutnick | Date: | Fri, 07 Sep 2001 14:15:11 +0000 |
| Subject: | Re: PHP complains when using similar_text() as documented. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66411@lists.php.net to get a copy of this message | ||
> On Thu, Sep 06, 2001 at 11:04:09PM -0500, Peter Hutnick wrote:
>> http://www.php.net/manual/en/function.similar-text.php
>> states that the
>> third argument should be a reference. PHP 4.0.6 complains "Warning:
>> Call-time pass-by-reference has been deprecated - argument passed by
>> value;" etc.
>>
>> But that percentage (double) is only available this way . . .
>>
>> Where am I going wrong?
>
> This might have something to do with it. From the php.ini:
>
> allow_call_time_pass_reference = Off
> ; whether to enable the ability to force arguments to be ; passed
> by reference at function-call time. This method ; is deprecated,
> and is likely to be unsupported in future
Yes, sorry, I am aware of this. Does this mean that similar_text is deprecated
by etension?
Is there maybe a FAQ on the whole pass-by-reference issue?
-Peter
PS: still appriciate CCs, thanks.
-Peter