Check for existence and assign
To see if an array has a specific index you should use array_key_exists rather than isset.

In case you want default values, how about just assigning all the defaults at the same time:

$foo = function_call();
$result = array('error' =&gt; (array_key_exists('error', $description) ? $description['error'] : ''), ...);