Re: php-master-web /logs download.log /scripts mirror-test

From: Date: Wed, 15 May 2002 07:39:56 +0000
Subject: Re: php-master-web /logs download.log /scripts mirror-test
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10226@lists.php.net to get a copy of this message
> > > # if anyone can work out how to sort the final table by php > > version, go > > ahead, i've had enough with fiddling with array sort techniques. > > > > :)) Version_compare() is available since PHP 4.1.0 ;) > > http://www.php.net/manual/en/function.version-compare.php > > And there is a user note on that page, adding tips on how > > to implement this in older versions ;) > > > I am not sure how this is usefull, except if i was to iterate through the > array several times for each version, which is not really very elegant. Use usort(), and a custom function using version_compare(). Goba

« previous php.mirrors (#10226) next »