Bugs item #3179951, was opened at 2011-02-13 23:36
Message generated for change (Comment added) made by tuurlijk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3179951&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: v2.3.2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tuurlijk (tuurlijk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Usage of functions and ini directives deprecated in PHP 5.3
Initial Comment:
Checking for deprectated functions ______________________________________
// checking for 'split()'
functions.inc.php:1186: $result = split('{|}', $pw_db, 3);
list-virtual.php:249: $goto_split = split(",", $row['goto']);
upgrade.php:766: $all_sql = split("\n", trim("
upgrade.php:828: $all_sql = split("\n", trim("
upgrade.php:961: $all_sql = split("\n", trim("
upgrade.php:999: $all_sql = split("\n", trim("
Checking for deprectated ini directives _________________________________
// checking for 'magic_quotes_runtime'
common.php:26:(ini_get('magic_quotes_gpc') ? ini_set('magic_quotes_runtime', '0') : '1');
// checking for 'magic_quotes_sybase'
common.php:27:(ini_get('magic_quotes_gpc') ? ini_set('magic_quotes_sybase', '0') : '1');
----------------------------------------------------------------------
>Comment By: Tuurlijk (tuurlijk)
Date: 2011-02-13 23:56
Message:
Updated Check script gives:
// checking for 'split()'
functions.inc.php:1186: $result = split('{|}', $pw_db, 3);
list-virtual.php:249: $goto_split = split(",", $row['goto']);
upgrade.php:766: $all_sql = split("\n", trim("
upgrade.php:828: $all_sql = split("\n", trim("
upgrade.php:961: $all_sql = split("\n", trim("
upgrade.php:999: $all_sql = split("\n", trim("
tests/simpletest/url.php:109: $parts = split(":",
$matches[1]);
tests/simpletest/url.php:187: foreach (split("&", $raw) as
$pair) {
tests/simpletest/http.php:319: foreach (split("\r\n", $headers)
as $header_line) {
tests/simpletest/http.php:460: $parts = split(";",
$cookie_line);
tests/simpletest/http.php:524: list($headers,
$this->_content) = split("\r\n\r\n", $raw, 2);
tests/simpletest/web_tester.php:193: $lines = split("\r\n",
$compare);
tests/simpletest/web_tester.php:209: if (count($parsed =
split(':', $line, 2)) < 2) {
// checking for 'magic_quotes_runtime'
common.php:26:(ini_get('magic_quotes_gpc') ?
ini_set('magic_quotes_runtime', '0') : '1');
// checking for 'magic_quotes_sybase'
common.php:27:(ini_get('magic_quotes_gpc') ?
ini_set('magic_quotes_sybase', '0') : '1');
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3179951&group_id=191583
|