Re: [PHP-DEV] php4: similar_text has not been updated to take percent variable by reference From: waldschrott (waldschrott <email protected>)
Date: 05/29/00

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 <email protected>  | O   ° o           °
o-¬--o--0-----©-·--O-----o-----0-¤----------o  0 °  · °  .  ¤ ·

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>