Good time of day. Help to understand the logic.
while (!feof($fg)) { тело цикла } If the loop value is true , then the loop body will be executed.
The file descriptor (say at the beginning of the file), which means feof() will return false . ! - denial. It turns out: we deny the negation - we get the truth?
Reaches the end of the file - feof() returns true . We deny the truth, we get a lie? Does the loop stop running?
I am just getting to know PHP. Explain the logic, please.