php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12214 Additional param to ereg/eregi/ereg_replace/eregi_replace
Submitted: 2001-07-17 15:08 UTC Modified: 2010-12-14 11:50 UTC
From: ruslan2000 at mail dot com Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4.0.6 OS: windows 2000
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: ruslan2000 at mail dot com
New email:
PHP Version: OS:

 

 [2001-07-17 15:08 UTC] ruslan2000 at mail dot com
Please add new param to 
ereg/eregi/ereg_replace/eregi_replace
which will specify the correct Enocoding of "string"
and allow to use this funnction with any encoding

EX:
string eregi_replace (string pattern, string replacement, string string [, int mode])

eregi_replace ("???", "%#&#", $header, CP_1251)

in connection with bug report #12176

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-14 11:50 UTC] jani@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2010-12-14 11:50 UTC] jani@php.net
Use the PCRE functions instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC