Re: php4: similar_text has not been updated to take percent variable by reference
| From: | waldschrott | Date: | Mon, 29 May 2000 15:32:01 +0000 |
| Subject: | Re: php4: similar_text has not been updated to take percent variable by reference | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19690@lists.php.net to get a copy of this message | ||
Nothing easier than that:
// does not work, but should
print similar_text ('foobie','doobie',$percent);
print $percent;
// does work, using deprecated call-time referecne
print similar_text ('foobie','doobie',&$percent);
print $percent;
regards
On Mon, May 29, 2000 at 04:31:19PM +0200, waldschrott wrote: Hi, since reference by call-time is deprecated, similar_text() has not been updated (I think), it does work in the php4 release if I pass it by call-time--please send a short code snippet that shows your problem!tc
o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° ·0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . ·
| psychedelic experience | gott@kiffen.de | O ° o °o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·