Data types: ubarray
Reynier Blanco (contact me)
This class can be used to manipulate and generate arrays with a special structure.
It provides different functions that can manipulate and generate arrays. Currently it can:
- Generate an array with values made of keys and values of an associative array separated by colons
- Generate an associative array parsing values of another array that have the array keys and values separated by colons
- Verify whether a value is an array and return an array with the value if it is not an array
- Check whether an array contains array values
- Create an array with elements of another array with a given key or value
- Determine the depth of a nested array
- Return the element of an array in a given position
- Return all values of array as a string with given prefix and suffix optionally ignoring some values
- Merge two arrays
- Removed repeated elements from an array
- Remove elements of an array with given key or value
- Add a value to an array
- Search an array for an element with a given value
Click here for detailed information about this class on phpclasses.org