\fastVersion

版本检测和对比

Summary

Methods
Properties
Constants
check()
compare()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

check()

check(string  $version, array  $data = array()) 

检测版本是否的版本要求的数据中

Parameters

string $version
array $data

compare()

compare(string  $v1, string  $v2) : boolean

比较两个版本号

Parameters

string $v1
string $v2

Returns

boolean