| mysqlnd_memcache_setAssociate a MySQL connection with a Memcache connection Description
   bool
    mysqlnd_memcache_set
    ( mixed  $mysql_connection[, Memcached$memcache_connection[, string$pattern[, callback$callback]]] )
   Associate  While associating a MySQL connection with a Memcache connection, this function will query the MySQL Server for its configuration. It will automatically detect whether the server is configured to use the InnoDB Memcache Daemon Plugin or MySQL Cluster NDB Memcache support. It will also query the server to automatically identify exported tables and other configuration options. The results of this automatic configuration can be retrieved using mysqlnd_memcache_get_config. Parameters
 Return Values
    Examples
 Example #1 mysqlnd_memcache_set example with var_dump as a simple debugging callback. 
<?phpThe above example will output: Sending query for id via Memcache: bool(true) Sending query for f1 via Memcache: bool(false) var_dump won't be invoked: See Also
 
 |