Re: cvs: php4 /ext/standard basic_functions.c
| From: | Jeroen van Wolffelaar | Date: | Thu, 11 Oct 2001 21:56:23 +0000 |
| Subject: | Re: cvs: php4 /ext/standard basic_functions.c | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-cvs+get-7766@lists.php.net to get a copy of this message | ||
> On Thu, Oct 11, 2001 at 08:13:18AM +0200, Stig Venaas wrote:
>
> > But perhaps version_compare() returning -1, 0, 1 is the best.
>
> I think this is the best of the ideas that have been voiced.
That makes 3 of us, I think it's better than a third parameter. It's much
versatile, and you don't need COMPARE_EQ,NEQ,GT, GE etc constants, which are
quite hard for people not used to that kind of names...
--Jeroen
>
> --
> Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
> http://www.csh.rit.edu/~jon/ : Computer Science House Member