1、$file = new file(); $file->setContent('c:/test.txt',$command.$return_var); 2、其中$command和$return_var是两个不同的变量