$u_a_string = print_r($this->ua,true); $u_a_string = str_replace(PHP_EOL,'', $u_a_string);//处理数组:SAE环境、微信公众号下去掉换行