| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Map::first(PECL ds >= 1.0.0) Ds\Map::first — Returns the first pair in the map. 説明
public Ds\Pair Ds\Map::first
( void
)
Returns the first pair in the map. パラメータこの関数にはパラメータはありません。 返り値The first pair in the map. エラー / 例外UnderflowException if empty. 例例1 Ds\Map::first() example
<?php上の例の出力は、 たとえば以下のようになります。
object(Ds\Pair)#2 (2) {
["key"]=>
string(1) "a"
["value"]=>
int(1)
}
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Map::first - Returns the first pair in the map.」をGoogle検索
|