Created
April 22, 2010 04:20
-
-
Save wjzhangq/374812 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$memcache = new Memcache; | |
$memcache->connect('127.0.0.1', 11211); | |
$stats = $memcache->getStats(); | |
foreach ($stats as $key => $val) { | |
echo "$key : $val\n"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment