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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Jul 02 07:00:02 2026 UTC