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