$fp = fopen('aa.txt','w+');
fwrite($fp,var_export($times,true));
fclose($fp);
The above introduces how exported writes an array to a txt file var_export, including the content of exported. I hope it will be helpful to friends who are interested in PHP tutorials.