Net_NNTP::last()
Net_NNTP::last() – get highest message number
Synopsis
require_once 'Net/NNTP.php';
integer Net_NNTP::last (
)
Описание
Retrieves the highest message number in the current selected newsgroup
Return value
integer
- highest message number
Замечание
since 0.3
This function can not be called statically.
Пример
Using last()
<?php
...
$nntp->selectGroup("php.pear.dev");
echo "highest message number: ".$nntp->last();
?>