View Issue Details

IDProjectCategoryView StatusLast Update
0010975mantisbtbugtrackerpublic2009-10-14 09:23
Reporterdhx Assigned Todhx  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010975: eregi_replace() is deprecated in PHP 5.3.0, use preg_replace() with the 'i' modifier instead
Description

See http://au2.php.net/manual/en/function.eregi-replace.php for the deprecation notice.

Only one instance of this function being used in the Mantis codebase:

grep -Rn [^_.]eregi_replace( *

core/print_api.php:191: $p_email = eregi_replace( "@$t_limit_email_domain$", '', $p_email );

TagsNo tags attached.

Relationships

related to 0010974 closedjreese ereg() is deprecated in PHP 5.3.0, use preg_match() instead 
related to 0010973 closeddhx split() is deprecated in PHP 5.3.0, use preg_split() instead 
related to 0010976 closeddregad Remove instances of pass-by-reference (deprecated in PHP 5.3.0) 
related to 0011506 closeddhx egreg_replace has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x da7d5c86

2009-10-05 03:41

dhx


Details Diff
Fix 0010975: eregi_replace() is deprecated

eregi_replace() is deprecated in PHP 5.3.0 and should be replaced with
preg_replace instead (with the 'i' modifier for case insentive
matching).
Affected Issues
0010975
mod - core/print_api.php Diff File

MantisBT: master b4b10a45

2009-10-05 03:41

dhx


Details Diff
Fix 0010975: eregi_replace() is deprecated

eregi_replace() is deprecated in PHP 5.3.0 and should be replaced with
preg_replace instead (with the 'i' modifier for case insentive
matching).
Affected Issues
0010975
mod - core/print_api.php Diff File