get()
get(array $array, string $var, mixed $default = null) : mixed
Because we love Python, this works much like dict.get() in Python.
Returns $var from $array if set, otherwise returns $default.
Parameters
array | $array | |
string | $var | |
mixed | $default |