(PHP 4 >= 4.1.0, PECL cyrus 1.0)
cyrus_query — Send a query to a Cyrus IMAP server
$connection
   , string $query
   )Sends a query to a Cyrus IMAP server.
connection
     The connection handle.
query
     The query string.
Returns an associative array with the following keys: text, msgno, and keyword.