Bug #1510
openmany php functions are deprecated at php 5.3
0%
Description
We use widely ereg, eregi, ereg_replace. split, and assigning the return value of new by reference.
See php documentation on deprecated warning for what to do in most cases.
whereever we use
$new_val = & new $class();
need to remove &
Updated by Anchi Cheng almost 13 years ago
- Status changed from New to Assigned
These are all committed into redux branch. Will merge back to trunk when all functions for CentOS 6 works.
Updated by Anchi Cheng over 12 years ago
ereg -> preg_match
ereg_replace -> preg_replace
use "%" as the marker for quoting preg_match and preg_match pattern. Need to add that to most statement where '$' or '/' are used as part of the pattern.
Updated by Amber Herold almost 12 years ago
- Affected Version changed from Appion/Leginon 2.2.0 (trunk) to Appion/Leginon 2.2.0
Removed any remaining "= &new". I have not tested it. Please code review to ensure no typos.
Needs to be merged to 2.2 Redux branch.
The PEAR library has 2 occurrences, one in PEAR.php and another in smtp.php. We may want to update PEAR.