#27021 [Ana->Csd]: strip_tags eliminates content in HTML comments
| From: | nlopess@php.net | Date: | Tue, 27 Jan 2004 15:56:13 +0000 |
| Subject: | #27021 [Ana->Csd]: strip_tags eliminates content in HTML comments | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358484@lists.php.net to get a copy of this message | ||
ID: 27021
Updated by: nlopess@php.net
Reported By: mderk at yandex dot ru
-Status: Analyzed
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: 4.3.0
Assigned To: nlopess
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2004-01-27 10:41:33] nlopess@php.net
I've checked the sources and the behaviour changed in PHP 4.3.0. I'll
update the docs.
------------------------------------------------------------------------
[2004-01-26 13:43:56] nlopess@php.net
Can somebody check when strip_tags() changed its behaviour, please?
I couldn't find this in CVS logs...
------------------------------------------------------------------------
[2004-01-26 07:25:58] moriyoshi@php.net
Okay, I had missed that report and now noticed it was
recognised wrongly. Anyway, I agree with you that
strip_tags() is not well documented and it's the right
time to add an extensive description because too many
users rely on this magical function. Reclassifying this
as a documentation problem.
------------------------------------------------------------------------
[2004-01-26 02:57:51] mderk at yandex dot ru
I found an old script that had relied on the old behavior (which was
"strip everything between < and >", e.g.
http://bugs.php.net/bug.php?id=15160) and broken
under PHP 4.3.4.
I would think of it at least as a documentation problem, not bogus.
Don't you think that every php developer in the World would read this
message to answer your question, even if he gets in trouble with the
new behavior? The things that break BC should at least be documented.
But there's no a word even in the Changes file.
------------------------------------------------------------------------
[2004-01-23 17:11:09] moriyoshi@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Who the heck gets in trouble with the new behaviour?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27021
--
Edit this bug report at http://bugs.php.net/?id=27021&edit=1