Net_NNTP::first()

Net_NNTP::first() – メッセージ番号の最小値を取得する

Synopsis

require_once 'Net/NNTP.php';

integer Net_NNTP::first ( )

Description

選択されているニュースグループのメッセージ番号の最小値を取得します。

Return value

integer - メッセージ番号の最小値。

Note

0.3 以降

This function can not be called statically.

Example

first() の使用

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"メッセージ番号の最小値: ".$nntp->first();
?>