復制代碼 代碼如下:
$fp = fopen('./a.txt', 'a+b');
fwrite($fp, $content);
fclose($fp);
復制代碼 代碼如下:
$fp = fopen('./a.txt', 'a+b');
fwrite($fp, var_export($content, true));
fclose($fp);
復制代碼 代碼如下:
$fp = fopen('./a.txt', 'a+b');
fwrite($fp, print_r($content, true));
fclose($fp);
新聞熱點
疑難解答