PHP Text to Image using while

Text to Image using while

<?
$string = "test";
$i = "0";
$len = strlen($string)-1;
$chop = chop("$string");
while ($i <= $len) { echo "<IMG SRC='abc/$chop[$i].gif'>"; $i++; }
?>