Returns the value for the given key in the given associative array or the given default value if the value is null.
Associative array that contains the value for the key.
Key whose value should be returned.
Optional
Value to be returned if the value for the given key is null.
Returns the value for the given key in the given associative array or the given default value if the value is null.