PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'Net/NNTP.php';
integer Net_NNTP::last ()
integer Net_NNTP::last
Retrieves the highest message number in the current selected newsgroup
integer - highest message number
since 0.3
This function can not be called statically.
Example 47-1. Using last()
... $nntp->selectGroup("php.pear.dev"); echo "highest message number: ".$nntp->last();