I've done some testing and when using $fread and it encounters the end of file, the entire execution of the script terminates w/o warning.


Beware of MeStinkBAD! He knows more than he actually does!