PEAR Manual
Prev |  | Next

# Net_NNTP::first()

Net_NNTP::first() -- get lowest message number

## Synopsis

    require_once 'Net/NNTP.php';

``integer Net_NNTP::first` ()`

## Description

Retrieves the lowest message number in the current selected newsgroup

## Return value

`integer` - lowest message number

## Note

since 0.3

This function can not be called statically.

## Example

Example 48-1. Using first()
    ...
    $nntp->selectGroup("php.pear.dev");
    echo "lowest message number: ".$nntp->first();

Prev | Home | Next
Net_NNTP::date() | Up | Net_NNTP::getArticle()