Re: [PHP-DEV] version numbers

2001-05-24 Thread Andrei Zmievski
On Wed, 23 May 2001, Dennis Gearon wrote: > I wonder about the version numbers because of some of the alphanumeric > values in them. > > Are the version numbers chosen such that ANY version higher can be > checked for by the following code: > > if ( strcmp($ver_running_under, $min_version) > 0){

[PHP-DEV] version numbers

2001-05-23 Thread Dennis Gearon
I wonder about the version numbers because of some of the alphanumeric values in them. Are the version numbers chosen such that ANY version higher can be checked for by the following code: if ( strcmp($ver_running_under, $min_version) > 0){ use feature; } else { use big nasty, ugly own versi