ID:               25730
 Updated by:       [EMAIL PROTECTED]
-Summary:          ereg_replace or strip_tags unexpected result
 Reported By:      rs at kunstbar dot tv
-Status:           Open
+Status:           Verified
-Bug Type:         Regexps related
+Bug Type:         Strings related
 Operating System: Windows 2003
-PHP Version:      4.3.2
+PHP Version:      4.3.4RC2-dev


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

[2003-10-02 09:57:21] rs at kunstbar dot tv

Description:
------------
The following reproduce code don't work under Win2003 with PHP 4.3.2.
It works with PHP 4.3.1 on all Operating Systems.

I think this was fixed last year - wasn't it ?!
http://bugs.php.net/bug.php?id=12120



Reproduce code:
---------------
$text = "I think this < doesn't > work. for this: < This must cut > And
here is the Real text from the String. < This must cut > Real Text from
String..";

$text = ereg_replace("[[:blank:]]+"," ",strip_tags($text));

Expected result:
----------------
I think this work. for this: And here is the Real text from the String.
Real Text from String.. 

Actual result:
--------------
I think this < doesn't > work. for this: < This must cut > And here is
the Real text from the String. < This must cut > Real Text from
String.. 


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


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

Reply via email to