PEAR Manual
Prev |  | Next

# Net_NNTP_Client::`first`()

Net_NNTP_Client::`first`() -- Get the number of the first article in the current newsgroup

## Synopsis

require_once 'Net/NNTP/Client.php';

publicinteger`Net_NNTP_Client::first`

## Description

Retrieves the number of the first article in the current newsgroup.

## Return value

`integer` - lowest article number in newsgroup

## 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_Client::`getDescriptions`() | Up | Net_NNTP_Client::getArticle()