Download the PHP package quorum/array-functions without Composer
On this page you can find all versions of the php package quorum/array-functions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package array-functions
Quorum Array Functions
A collection of global array_*
functions appending to the native PHP set.
Requirements
- php: >=5.3.0
Installing
Install the latest version with:
Array Functions
Function: \array_flatten
Parameters:
- array
$array
- The Array to be Flattened - bool
$allow_duplicates
- Should the array allow duplicates
Returns:
- array - The resulting array or NULL on failure
Given an array, find all the values recursively.
Function: \array_blend
Parameters:
- array
$arrays
- An array of arrays. - array | null
$keys
- The merged array.
Returns:
- array - The resulting blended array
Given an array of arrays, merges the array's children together.
Function: \array_key_array
Parameters:
- array
$arrays
- An array of similarly keyed arrays - int | string
$key
- The desired key
Returns:
- array - The flattened array
Given an array of similarly keyed arrays, returns an array of only the values of the key.
Function: \array_keys_array
Parameters:
- array
$arrays
- An array of similarly keyed arrays - array | int | string
$keys
- The key or array of keys to return
Returns:
- array - The array of arrays with just the selected keys
Given an array of similarly keyed arrays, returns an array of only the selected keys.
Function: \array_key_refill
Parameters:
- array
$array
- A Keyed array - array
$keys
- The keys that must exist - mixed
$fill
- The desired value to fill with
Returns:
- array
Given a keyed array, fills any missing values.
All versions of array-functions with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package quorum/array-functions contains the following files
Loading the files please wait ....