php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1089 eregi_replace misbehaves on German Umlaute
Submitted: 1999-01-22 11:33 UTC Modified: 1999-06-01 16:01 UTC
From: tobias at dnet dot it Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.6 OS: FreeBSD 2.2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tobias at dnet dot it
New email:
PHP Version: OS:

 

 [1999-01-22 11:33 UTC] tobias at dnet dot it
The following code doesn't work as expected:

$test = "value = t?st";
$test = eregi_replace (" = .*", " = t?st", $test);

$test is now "value = t?st?st"!

I should probably mention that str_replace doesn't work correctly (keeps crashing the httpd under certain cirumstances) either on this system. Everything works as expected under Linux and NT though.

If a developer is interested, I can setup a temporary account for him.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-01 16:01 UTC] jim at cvs dot php dot net
Haven't heard back, so closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 10:01:32 2024 UTC