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

Using first()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"lowest message number: ".$nntp->first();
?>
get date from news server (Previous) fetch an article from a new server (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.