Weil die Funktion zur Verwandlung von einer Zahl in einen String prinzipiell nix mit Strings zu tun hat.
http://de2.php.net/manual/de/ref.var.php
Str() für PHP?
Es reicht doch einfach:
Code: Alles auswählen
$fu = 123;
$bar = "$fu";