=0; $i--){ $reverse_str .= $str[$i]; } echo $reverse_str; ?> 编写一个 PHP 程序将一个字符串反转并输出。例如输入 hello world输出 dlrow olleh。