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