View Issue Details

IDProjectCategoryView StatusLast Update
0011506mantisbtlocalizationpublic2010-06-09 03:44
Reporterdemushkin Assigned Todhx  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Platformphp 5.3OSWindowsXP 
Product Version1.1.8 
Summary0011506: egreg_replace has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0
Description

core/lang.api, line: 65
$t_lang_var = eregreplace( '^s', '', $t_var );
replace to
$t_lang_var = pregreplace( '/^s/', '', $t_var );

TagsNo tags attached.

Relationships

related to 0010975 closeddhx eregi_replace() is deprecated in PHP 5.3.0, use preg_replace() with the 'i' modifier instead 

Activities

atrol

atrol

2010-02-17 02:53

developer   ~0024403

This is already changed in version 1.2.0
ATM it seems that there is no plan to support PHP >= 5.3 with MantisBT 1.1.x

dhx

dhx

2010-02-17 06:39

reporter   ~0024405

Thanks for the bug report. As mentioned by atrol, this is fixed in 1.2.x and won't be backported to 1.1.x as we aren't supporting 1.1.x of MantisBT with PHP 5.3.0. There are simply too many changes we'd need to make - and that can introduce unexpected bugs to the current 1.1.x users.