Re: [PHP-DEV] Is fgetss() useless?

2014-07-29 Thread Maciej Sobaczewski
Hello Tjerk, thanks for the explanation. This is close to what I thought. So, if there is a difference, I see no point in proposing to remove it. You can consider this thread as closed ;) Have a nice day, Maciej. Hi Maciej, On Mon, Jul 28, 2014 at 7:21 PM, Maciej Sobaczewski wrote: Hel

Re: [PHP-DEV] Is fgetss() useless?

2014-07-29 Thread Tjerk Meesters
Hi Maciej, On Mon, Jul 28, 2014 at 7:21 PM, Maciej Sobaczewski wrote: > 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

RE: [PHP-DEV] Is fgetss() useless?

2014-07-28 Thread Christian Stoller
From: Maciej Sobaczewski [mailto:msobaczew...@gmail.com] > > 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($s

[PHP-DEV] Is fgetss() useless?

2014-07-28 Thread Maciej Sobaczewski
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 deprecat