Originariamente inviato da berlu
Puoi usare anche il casting (stile Java o C):

$var=10;
$var2= (string) $var;
Hai ragione però considera che settype restituisce false se la conversione fallisce mentre con il cast del tipo ciò non avviene.