Bug #18477 Updated: preg_replace not working with upgrade to 4.2.1
| From: | derick@php.net | Date: | Mon, 22 Jul 2002 21:06:10 +0000 |
| Subject: | Bug #18477 Updated: preg_replace not working with upgrade to 4.2.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14801@lists.php.net to get a copy of this message | ||
ID: 18477
Updated by: derick@php.net
Reported By: chaz@drum-machine.com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows 2000 IIS 5 SP2
PHP Version: 4.2.1
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-22 17:05:10] chaz@drum-machine.com
The following function works on 4.1.2 but not on 4.2.1
function unnltobr($text)
{
return (preg_replace('!<br( /)?>$!m', '', $text));
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18477&edit=1