摘要: function readFiles($file_path){ $handle = fopen($file_path, 'r'); while (!feof($handle)) { yield trim(fgets($handle)); } fclose($handle); } $words = readFiles('./word.txt'); foreach($words a... 阅读全文
posted @ 2019-07-22 15:13 晨曦年华 阅读(82) 评论(0) 推荐(0) 编辑