original_string: protected static function get_prefixed_keys(Memcached $connection, $prefix) {
          $connkeys = $connection->getAllKeys();
          if (empty($connkeys)) {
              return array();
          }
  
          $keys = array();
          $start = strlen($prefix);
          foreach ($connkeys as $key) {
              if (strpos($key, $prefix) === 0) {
                  $keys[] = substr($key, $start);
              }
          }
          return $keys;
      }
code: protected static function get_prefixed_keys(Memcached $connection, $prefix) {
          $connkeys = $connection->getAllKeys();
          if (empty($connkeys)) {
              return array();
          }
  
          $keys = array();
          $start = strlen($prefix);
          foreach ($connkeys as $key) {
              if (strpos($key, $prefix) === 0) {
                  $keys[] = substr($key, $start);
              }
          }
          return $keys;
      }
code_tokens: protected static function get_prefixed_keys ( Memcached $ connection , $ prefix ) { $ connkeys = $ connection -> getAllKeys ( ) ; if ( empty ( $ connkeys ) ) { return array ( ) ; } $ keys = array ( ) ; $ start = strlen ( $ prefix ) ; foreach ( $ connkeys as $ key ) { if ( strpos ( $ key , $ prefix ) === 0 ) { $ keys [ ] = substr ( $ key , $ start ) ; } } return $ keys ; }
docstring: Returns all of the keys in the given connection that belong to this cache store instance.
  
  Requires php memcached extension version 2.0.0 or greater.
  
  @param Memcached $connection
  @param string $prefix
  @return array
docstring_tokens: Returns all of the keys in the given connection that belong to this cache store instance .