| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Deque::reduce(PECL ds >= 1.0.0) Ds\Deque::reduce — Reduces the deque to a single value using a callback function. 説明Reduces the deque to a single value using a callback function. パラメータ
返り値The return value of the final callback. 例例1 Ds\Deque::reduce() with initial value example
<?php 上の例の出力は、 たとえば以下のようになります。 int(30) 例2 Ds\Deque::reduce() without an initial value example
<?php 上の例の出力は、 たとえば以下のようになります。 int(21) |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Deque::reduce - Reduces the deque to a single value using a callback function.」をGoogle検索
|