复制代码 代码如下:
$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);
新闻热点
疑难解答