Registry /
utility / lstrojny-functional-php
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Functional
✓ use Functional\Functional;
Map over an array
<?php
require_once 'vendor/autoload.php';
use function Functional\map;
$result = map([1, 2, 3], function($v) { return $v * 2; });
print_r($result);
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.18.0latest on Packagist
Audit
Dependencies
No dependency data recorded yet.