Skip to content

Instantly share code, notes, and snippets.

@co3k
Created January 30, 2010 21:45
Show Gist options
  • Save co3k/290741 to your computer and use it in GitHub Desktop.
Save co3k/290741 to your computer and use it in GitHub Desktop.
#!/usr/bin/env php
<?php
print apc_clear_cache('user') ? 'Remove user cache successfully.' : 'Failed to remove user cache.';
echo PHP_EOL;
print apc_clear_cache() ? 'Remove system cache successfully.' : 'Failed to remove system cache.';
echo PHP_EOL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment