You can see from the result that you're getting that with your GetTags() function you're actually echoing #php, #html (which doesn't return anything so you get an empty string in the value). What you need to do is return it from the function so it will be added as status' value.
Your way:
function GetTags() {
echo "#php, #html";
}
$params = array(
'status' =>GetTags()
);
print_r ($params);
Result
#php, #htmlArray ( [status] => )
Notice how the text is first printed on the screen, and then you get no value in status?
Now, returning instead of echoing:
function GetTags() {
return "#php, #html";
}
$params = array(
'status' =>GetTags()
);
print_r ($params);
Result
Array ( [status] => #php, #html )