~php <? $fp = fopen("result.txt", "w"); fputs($fp, join("", array_reverse(preg_split("//u", join("", @file("source.txt")))))); fclose($fp); ?>