for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CouchDB;
/**
* @author Markus Bachmann <[email protected]>
*/
final class Version
{
const VERSION = '1.0-beta';
* Compare a given version with the current version.
*
* @param string $version
* @return int
public static function compare($version)
return version_compare(self::VERSION, $version);
}