下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
MySQL Memcache Plugin related
MYSQLND_MEMCACHE_DEFAULT_REGEXP
(string)
Assorted
The version number of this plugin can be obtained by using
MYSQLND_MEMCACHE_VERSION
or
MYSQLND_MEMCACHE_VERSION_ID
.
MYSQLND_MEMCACHE_VERSION
is the string representation of the numerical version number
MYSQLND_MEMCACHE_VERSION_ID
, which is an integer such as 10000.
Developers can calculate the version number as follows.
Version (part) | Example |
---|---|
Major*10000 | 1*10000 = 10000 |
Minor*100 | 0*100 = 0 |
Patch | 0 = 0 |
MYSQLND_MEMCACHE_VERSION_ID | 10000 |