Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我这里有一个代码:
$file = fopen('a.txt', 'r'); while (!feof($file)){ $word = trim(fgets($file)); // calling a function on $word }
我想$word在while结束时删除。我怎样才能做到这一点?
$word