I have a PHP file a configuration file coming from a Yii message translation file which contains this:
'key' => 'value'
'key2' => 'value'
When an included file returns something, you may simply assign it to a variable
$myArray = include $in;