i want to check if the end of line is reached but when i run
the code it doesn't show anything although the file has contents
my code is as following
<?php
$file=fopen("m.txt","r+") or exit("couldn't open file");
while(!PHP_EOL)
{
echo fgets($file). "<br />";
}
fclose($file);
?>