The fgetss() function returns a line from file pointer and strip HTML tags.
This function returns false on failure.
Syntax
fgetss(file,length,tags)
Example
$file = fopen("content.txt","r");
echo fgetss($file);
fclose($file);
Output
This is first paragraph.
Copyright ©2022 coderraj.com. All Rights Reserved.