Array utility methods, inspired by Ruby's array methods
This is a set of utility functions for array alteration and handling.
They all follow the same naming conventions as the default methods in the form of
Deletes entry from array and return its value.
NB: This method modifies the original variable.
Lookup entry in array by key and return its value, returns
false if not found.
Make multidimensional array flat.
Return array with only the keys in
Return array without the keys in
This is the inverse of
- Fork it ( https://github.com/fetch/php-array-utils/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request