PEAR Manual
Prev |  | Next

# Net_NNTP::max()

Net_NNTP::max() -- get highest message number

## Synopsis

    require_once 'Net/NNTP.php';

``integer Net_NNTP::max` ()`

## Description

Warning
This function is deprecated. That means that future versions of this package may not support it anymore.

Retrieves the highest message number in the current selected newsgroup

## Return value

`integer` - highest message number

## Note

This function can not be called statically.

## Example

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

Prev | Home | Next
Net_NNTP::last() | Up | Net_NNTP::min()