File: getDescriptions.php

package info (click to toggle)
php-net-nntp 1.5.0~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 348 kB
  • sloc: php: 2,432; xml: 844; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
$descriptions = $nntp->getDescriptions('*.pear.*');
if (PEAR::isError($descriptions)) {
    // handle error
}

foreach ($descriptions as $group => $description) {
    echo $group, ': ', $description, "\r\n";
}