Less than 1 minute
array_pull
Pull an item out of an array by is key.
public array_pull({Array})
This function is similar to array_pop() and array_shift(), except that instead of popping the last/first element off the array, it pops an element with the specified key.
Parameters
Parameter | Type | Description |
---|---|---|
$array | array | the array to pull the element from |
$key | string | the key of the element |
Generated by Hazaar API Doc Generator