That sentence doesn't make sense, but I think what you're asking is "if I have a variable that might contain values 1, 2, 3 or 4, how do I map the value to a corresponding string?"
$myvar = 3;
switch($myvar){
case 1:
$myword = "one";
break;
case 2:
$myword = "two";
break;
case 3:
$myword = "three";
break;
case 4:
$myword = "four";
break;
}
echo $myword;
Another way, much shorter:
$mywords = array('zero', 'one', 'two, 'three', 'four');
echo $mywords[$myvar];