且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

保存PHP输出文件

更新时间:2023-02-07 18:52:48

使用试试这个出了真正参数在的print_r

Try this out using the true param in the print_r:

$f = fopen("file.txt", "w");
fwrite($f, print_r($array2, true));
fwrite($f, print_r($array3, true));
fwrite($f, print_r($array4, true));
fclose($f);