version numbers

From: Date: Thu, 24 May 2001 00:30:48 +0000
Subject: version numbers
Groups: php.dev php.general 
Request: Send a blank email to php-dev+get-56566@lists.php.net to get a copy of this message
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 version of functionality -or- issue warning that results may not be correct because functionality is not necessarily available, i.e. getting the REAL include directory being used before version 4. }

« previous php.dev (#56566) next »