Re: php4: similar_text has not been updated to take percent variable by reference
| From: | thies at digicol dot de | Date: | Mon, 29 May 2000 15:40:50 +0000 |
| Subject: | Re: php4: similar_text has not been updated to take percent variable by reference | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19692@lists.php.net to get a copy of this message | ||
On Mon, May 29, 2000 at 05:32:01PM +0200, waldschrott wrote:
> 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
fixed in CVS - thanx.
the allow_call_time_pass_reference stuff is not working with
all functions yet, as the fuctions have to be internally
registered to receive their argument as reference.
tc
>
>
> > 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 ° · ° . ¤ ·
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany