private function write2File($data) {/*{{{*/ if(false == empty($data)) { $xmlData = XString::array2XML($data, $this->charset); $filePath = $this->workPath.$this->nowFile.'.'.self::SUFFIX_XML; file_put_contents($filePath, $xmlData); $this->nowFile += 1; unset($xmlData); } else { $this->myEcho(" 没东西可写...\n"); } }/*}}}*/