fgetss

PHP 4, PHP 5, PHP 7
fgetss - Gets line from file pointer and strip HTML tags
Manual
Code Examples

Example #1 Reading a PHP file line-by-line

Result: Welcome! Today is the of . Text outside of the HTML block.
PHP Version: