Req #62450 [Com]: Remove gzgetss and see if anyone notices
| From: | tero dot tasanen at gmail dot com | Date: | Wed, 11 Jul 2012 09:38:59 +0000 |
| Subject: | Req #62450 [Com]: Remove gzgetss and see if anyone notices | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171869@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62450&edit=1
ID: 62450
Comment by: tero dot tasanen at gmail dot com
Reported by: turnip@php.net
Summary: Remove gzgetss and see if anyone notices
Status: Not a bug
Type: Feature/Change Request
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I must say +1 for this.. even this not a bug, this function is just totally
pointless.
@johannes the koders.com search shows that this function has been used in one
actual
code file and koders.com covers just about every open source project in the
word. (and
not to mention that in the line the behavior of this function might actually
result in
unwanted results since it strips the html tags :D)
So I think that it fair to say that this function is not needed by anyone, it's
pointless and can safely be removed in future php versions.
Previous Comments:
------------------------------------------------------------------------
[2012-07-06 10:19:04] johannes@php.net
A typo in a manual page is no reason for a function be removed.
and a quick check shows people are using it:
http://koders.com/default.aspx?s=gzgetss&submit=Search&la=PHP&li=*
First hit: http://koders.com/php/fid5AEBF8DE39EB1BCA59AC00E6C0960369CC4FDD85.aspx?s=gzgetss#L72
------------------------------------------------------------------------
[2012-06-29 14:36:28] turnip@php.net
Description:
------------
This function (http://php.net/manual/en/function.gzgetss.php) has literally never been used by
anyone, ever. Besides the fact that it's worthless, no-one has noticed the error
("striped") on the doc page. We should completely remove the function and see if anyone
notices.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62450&edit=1