cMySql57_Utils::ServerVersion2int() - rstoetter/libsqlphp GitHub Wiki

Method ServerVersion2int( )

 public  static   integer rstoetter\libsqlphp\cMySql57_Utils::ServerVersion2int(string $version)

The method ServerVersion2int( ) returns the int notation of the version string $version

Example:

Arguments

  • $version string - <p>the string notation of the version (1.002)</p>

Returns

integer the int notation : main_version * 10000 + minor_version * 100 + sub_version (i.e. version 4.1.0 is 40100).