PHP: switch() default for all?



I have this:

case true:

echo '<textarea rows="2" cols="35" name="message_friend" id="message_friend"></textarea>';
break;

default:
echo '<textarea rows="2" cols="35" name="message_friend" id="message_friend" readonly="readonly"></textarea>';
break;

I am trying to ONLY if it's true, then show normal else do READONLY.

The PHP switch is checking from a function

switch((check_friend_state($showU["id"], 'friend') == true))

And I tried to echo the function, and it returned err2 and not true, so why does it run true?