for($p=0;$p<10;$pc++){
$rakam .= $rakam+$pc;
}

echo $rakam;