Is fgetss() useless?

From: Date: Mon, 28 Jul 2014 11:21:23 +0000
Subject: Is fgetss() useless?
Groups: php.internals 
Request: Send a blank email to internals+get-76227@lists.php.net to get a copy of this message
Hello guys, so... fgetss(). We have such a beautiful function in PHP. As it's described in the manual: "Get line from file pointer and strip HTML tags". I'm wondering if it has any differences/advantages over using just strip_tags(fgets($stream)). I'm going to write an RFC proposing deprecation and then removal of it, but first I want to ensure that this function is as useless (IMHO) as I think. Best regards, Maciej.

« previous php.internals (#76227) next »