View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010973 | mantisbt | bugtracker | public | 2009-09-22 10:15 | 2009-10-14 09:24 |
Reporter | dhx | Assigned To | dhx | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010973: split() is deprecated in PHP 5.3.0, use preg_split() instead | ||||
Description | See http://au2.php.net/manual/en/function.split.php for the deprecation notice. Matches with grep -Rn [^_.]split( * adm_config_set.php:90: $t_split = split( '=>', $value, 2 ); | ||||
Tags | No tags attached. | ||||
related to | 0010976 | closed | dregad | Remove instances of pass-by-reference (deprecated in PHP 5.3.0) |
related to | 0010975 | closed | dhx | eregi_replace() is deprecated in PHP 5.3.0, use preg_replace() with the 'i' modifier instead |
related to | 0010974 | closed | jreese | ereg() is deprecated in PHP 5.3.0, use preg_match() instead |
I would imagine that it would eb far more prudent to replace split() calls with explode(), considering that (afaik) we never use a full regex in the split call, and explode() is essentially identical when not using a regex. |
|
Yep that is a good point, I was just copying the recommended replacement from the PHP site :) |
|
MantisBT: master-1.2.x c22bd5d8 2009-10-05 03:20 Details Diff |
Fix 0010973: split() is deprecated split() is deprecated in PHP 5.3.0 and should either be replaced with explode() or preg_split(). |
Affected Issues 0010973 |
|
mod - adm_config_set.php | Diff File | ||
mod - admin/check.php | Diff File | ||
MantisBT: master 2fe93425 2009-10-05 03:20 Details Diff |
Fix 0010973: split() is deprecated split() is deprecated in PHP 5.3.0 and should either be replaced with explode() or preg_split(). |
Affected Issues 0010973 |
|
mod - adm_config_set.php | Diff File | ||
mod - admin/check.php | Diff File |