fopen w和a的区别 - SegmentFault
<?php $dir = "./a/"; $txt = '1.txt'; $fh = fopen($txt, 'w'); $dh = opendir($dir); while (($file = readdir($dh)) !== false) ...
fopen中w 和w+的区别_百度知道
最佳答案: r+: Open for reading and writing. The stream is positioned at the beginning of the file. w+:Open for reading and writing. The file is ...更多关于fopen w和a的区别的问题>>