Re: [PHP4BETA] min() function stops on arrays...
[email protected] ("Lukasz Felsztukier") Mon, 29 May 2000 22:06:01 +0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
U¿ytkownik Andrei Zmievski <[email protected]> w artykule news:[email protected] napisa³... > On Mon, 29 May 2000, Lukasz Felsztukier wrote: > > Hi there > > In my script I gather some integers into a array called $patpos. Then I > > search for the lowest integer in that array : $patpos = min($patpos); > > And I'm supposed to have the lowest value in the $patpos (I know it's not an > > array anymore) - but this does work only if there's one element in the > > array. When I have two or more - the script stops without any notice - this > > started after I upgraded to PHP 4.0.0 > > Please help or gimme an alternative - I have a search engine based on this > > :-) > > Hi, this was a bug in 4.0.0 that's been fixed for 4.0.1. Where can I obtain it ? Lukasz