ID: 7472
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Strings related
Operating System: linux
PHP Version: 4.3.0-dev
New Comment:
$result_strip_tags = strip_tags("first <?echo \"\\\"\"?> second");
echo "\n$result_strip_tags\n";
still results in
sebastian@linux:~> /usr/local/bin/php strip_tags.php
first
sebastian@linux:~>
Previous Comments:
------------------------------------------------------------------------
[2002-09-19 20:54:21] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Cannot replicate the bug with latest CVS, using test case in the
original report or subsequent reports.
------------------------------------------------------------------------
[2002-07-29 17:12:38] [EMAIL PROTECTED]
looked at php_strip_tags, The state machine is tracking "'s, )'s and
('s. I don't know if this is necessary. Can fix by simply removing that
code. Emailed dev list asking for any further info.
------------------------------------------------------------------------
[2002-07-29 09:16:07] [EMAIL PROTECTED]
Verified on Compaq Tru64/Alpha
------------------------------------------------------------------------
[2002-01-22 07:54:43] [EMAIL PROTECTED]
Version updated
------------------------------------------------------------------------
[2002-01-22 07:34:33] [EMAIL PROTECTED]
Bug still exists in PHP 4.1.1, tested under Linux 2.4 and Windows XP
with:
echo strip_tags("first <?echo \"\\\"\"?> second");
------------------------------------------------------------------------
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/7472
--
Edit this bug report at http://bugs.php.net/?id=7472&edit=1