ID:               27021
 User updated by:  mderk at yandex dot ru
 Reported By:      mderk at yandex dot ru
 Status:           Bogus
 Bug Type:         Strings related
 Operating System: FreeBSD
 PHP Version:      4.3.4
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2004-01-23 17:11:09] [EMAIL PROTECTED]

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?


------------------------------------------------------------------------

[2004-01-23 10:43:10] mderk at yandex dot ru

Description:
------------
<?php
$str = '<!--b>here!</b-->';
print strip_tags($str);
?>
in PHP 4.2.2 it outputs 'here!'.
in PHP 4.3.4 it outputs nothing.
Maybe it should be treated as the right behavior, but it is definitely
a BC violation.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27021&edit=1

Reply via email to