Hey, I find myself doing a lot of: if (isset($data['foo'])) // use $data['foo'] Is there an existing array function that gets the array value or returns a default value like: function array_get_value($arr, $key, $def) { return array_key_exists($arr, $key) ? $arr[$key] : $def; } ? Mike