| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Stack::peek(PECL ds >= 1.0.0) Ds\Stack::peek — Returns the value at the top of the stack. 説明Returns the value at the top of the stack, but does not remove it. パラメータこの関数にはパラメータはありません。 返り値The value at the top of the stack. エラー / 例外UnderflowException if empty. 例例1 Ds\Stack::peek() example
<?php 上の例の出力は、 たとえば以下のようになります。 string(1) "c" |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Stack::peek - Returns the value at the top of the stack.」をGoogle検索
|