I have a code here:
$file = fopen('a.txt', 'r'); while (!feof($file)){ $word = trim(fgets($file)); // calling a function on $word }
I want to delete the $word at the end of while. How can I do this?
$word