Bug #18477: preg_replace not working with upgrade to 4.2.1

From: Date: Mon, 22 Jul 2002 21:05:10 +0000
Subject: Bug #18477: preg_replace not working with upgrade to 4.2.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14800@lists.php.net to get a copy of this message
From: chaz@drum-machine.com Operating system: Windows 2000 IIS 5 SP2 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: preg_replace not working with upgrade to 4.2.1 The following function works on 4.1.2 but not on 4.2.1 function unnltobr($text) { return (preg_replace('!<br( /)?>$!m', '', $text)); } -- Edit bug report at http://bugs.php.net/?id=18477&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18477&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18477&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18477&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18477&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18477&r=support Expected behavior: http://bugs.php.net/fix.php?id=18477&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18477&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18477&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18477&r=globals

« previous php.bugs (#14800) next »