A::get()
Gets an element of an array by key
Parameters
Name | Type | Default | Description |
---|---|---|---|
$array * | array |
– | The source array |
$key * | array |string |int |null |
– | The key to look for |
$default | mixed |
null |
Optional default value, which should be returned if no element has been found |