$fp = fopen('./text.txt', 'rb'); while(!feof($fp)) { echo fgets($fp); //读取一行 } fclose($fp);
数据分析师2017-09-30 22:46:23
I saw an example. When opening a file, an rb was written to it. What does this mean? -PHP Chinese website Q&A-I saw an example where an rb was written to a file when opening it. What does this mean? -PHP Chinese website Q&A
Please watch and learn.