Oracle 5.0 Reference Manual page 2705

Table of Contents

Advertisement

Mysqlnd query result cache plugin (mysqlnd_qc)
mysqlnd_qc_get_available_handlers
Returns a list of available storage handler
Description
array mysqlnd_qc_get_available_handlers();
Which storage are available depends on the compile time configuration of the query cache plugin. The
storage handler is always available. All other storage handler must be enabled explicitly
default
when building the extension.
Parameters
This function has no parameters.
Return Values
Returns an array of available built-in storage handler. For each storage handler the version number
and version string is given.
Examples
Example 20.321.
mysqlnd_qc_get_available_handlers
<?php
var_dump(mysqlnd_qc_get_available_handlers());
?>
The above examples will output:
array(5) {
["default"]=>
array(2) {
["version"]=>
string(5) "1.0.0"
["version_number"]=>
int(100000)
}
["user"]=>
array(2) {
["version"]=>
string(5) "1.0.0"
["version_number"]=>
int(100000)
}
["APC"]=>
array(2) {
["version"]=>
string(5) "1.0.0"
["version_number"]=>
int(100000)
}
["MEMCACHE"]=>
array(2) {
["version"]=>
string(5) "1.0.0"
["version_number"]=>
int(100000)
}
["sqlite"]=>
array(2) {
["version"]=>
string(5) "1.0.0"
["version_number"]=>
int(100000)
example
2685

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents