value()
value(array $data, mixed $key, mixed $default) : mixed
Get an element from an array, or the default if it is not set or it's value is falsy.
Parameters
array | $data | The array to get the element from |
mixed | $key | The key within the array to get |
mixed | $default | The default value to return if no element exists or it's value is falsy |