Download the PHP package aviator/array-map-keys without Composer
On this page you can find all versions of the php package aviator/array-map-keys. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aviator/array-map-keys
More information about aviator/array-map-keys
Files in aviator/array-map-keys
Download aviator/array-map-keys
More information about aviator/array-map-keys
Files in aviator/array-map-keys
Vendor aviator
Package array-map-keys
Short Description Array map with keys
License MIT
Homepage https://github.com/danielsdeboer/array-map-keys
Package array-map-keys
Short Description Array map with keys
License MIT
Homepage https://github.com/danielsdeboer/array-map-keys
Please rate this library. Is it a good library?
Informations about the package array-map-keys
Overview
PHP's array_map()
function doesn't allow associative array key mutation. This package provides a function, array_map_keys()
, which does.
The function iterates over an array and mutates each array item with the provided callback.
Installation
Via Composer:
Testing
Via Composer:
Usage
An array:
A callback:
The array_map_keys
function:
The output:
Other Stuff
License
This package is licensed with the MIT License (MIT).
All versions of array-map-keys with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package aviator/array-map-keys contains the following files
Loading the files please wait ....