php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18477 preg_replace not working with upgrade to 4.2.1
Submitted: 2002-07-22 17:05 UTC Modified: 2002-07-22 17:06 UTC
From: chaz at drum-machine dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.1 OS: Windows 2000 IIS 5 SP2
Private report: No CVE-ID: None
 [2002-07-22 17:05 UTC] chaz at drum-machine dot com
The following function works on 4.1.2 but not on 4.2.1

function unnltobr($text)
{
    return (preg_replace('!<br( /)?>$!m', '', $text));
}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-22 17:06 UTC] derick@php.net
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.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 13:01:31 2024 UTC