Alias for filter()
. This functionality was incorrectly named reduce in earlier versions of the SDK.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The callback function to execute. PHP 5.3 or newer can use an anonymous function. |
|
|
Optional |
A variable from the calling scope to pass-by-reference into the local scope of the callback function. |
Returns
Source
Method defined in utilities/array.class.php | Toggle source view (4 lines) | View on GitHub