Project

General

Profile

Actions

Bug #35904

closed

Found some deprecated functions in the core

Added by Frank Nägler over 12 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have found some PHP 5.3 deprecated functions in the core.
please check the list below.

checking for 'dl()'

typo3/sysext/em/classes/parser/class.tx_em_parser_xmlabstractparser.php:77:            if (!((bool) ini_get('enable_dl') && !(bool) ini_get('safe_mode') && function_exists('dl') && dl($prefix . $this->requiredPHPExt . PHP_SHLIB_SUFFIX))) {
typo3/sysext/openid/lib/php-openid/Auth/OpenID/BigMath.php:380:                if (@dl($module . "." . PHP_SHLIB_SUFFIX)) {
typo3/sysext/openid/lib/php-openid/Auth/Yadis/XML.php:352:                if (@dl($libname)) {
typo3/sysext/adodb/adodb/adodb-pear.inc.php:365:            @dl($name . $dlext);

checking for 'eregi()'

ChangeLog:13188:    * t3lib_install: Changed an eregi() to a matching preg_match()

checking for 'set_magic_quotes_runtime()'

typo3/sysext/adodb/adodb/adodb-xmlschema.inc.php:1308:        #set_magic_quotes_runtime(0);
typo3/sysext/adodb/adodb/adodb-xmlschema.inc.php:2198:        #set_magic_quotes_runtime( $this->mgq );
typo3/sysext/adodb/adodb/adodb-xmlschema03.inc.php:1411:        #set_magic_quotes_runtime(0);
typo3/sysext/adodb/adodb/adodb-xmlschema03.inc.php:2379:        #set_magic_quotes_runtime( $this->mgq );
typo3/contrib/swiftmailer/classes/Swift/KeyCache/DiskKeyCache.php:174:        set_magic_quotes_runtime(0);
typo3/contrib/swiftmailer/classes/Swift/KeyCache/DiskKeyCache.php:183:        set_magic_quotes_runtime(1);
typo3/contrib/swiftmailer/classes/Swift/KeyCache/DiskKeyCache.php:202:        set_magic_quotes_runtime(0);
typo3/contrib/swiftmailer/classes/Swift/KeyCache/DiskKeyCache.php:210:        set_magic_quotes_runtime(1);
typo3/contrib/swiftmailer/classes/Swift/ByteStream/FileByteStream.php:82:        set_magic_quotes_runtime(0);
typo3/contrib/swiftmailer/classes/Swift/ByteStream/FileByteStream.php:87:        set_magic_quotes_runtime(1);

checking for 'split()'

t3lib/class.t3lib_recordlist.php:313:        var checkBoxes = listOfCBnames.split(",");
typo3/sysext/cms/tslib/class.tslib_search.php:47: *  226:     function split($origSword, $specchars='+-', $delchars='+.,-')
typo3/sysext/cms/tslib/class.tslib_search.php:196:            $components = $this->split($sword);
typo3/sysext/cms/tslib/class.tslib_search.php:225:    function split($origSword, $specchars='+-', $delchars='+.,-')    {
typo3/sysext/taskcenter/task/index.php:482:        var version = parseFloat(navigator.appVersion.split(";")[1].strip().split(" ")[1]);
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php:569:                    var additionalAttributes = plugin.pageTSConfiguration.additionalAttributes.split(",");
typo3/template.php:1983:                var version = parseFloat(navigator.appVersion.split(\';\')[1].strip().split(\' \')[1]);

checking for 'magic_quotes_runtime()'

typo3/sysext/adodb/adodb/adodb-xmlschema.inc.php:1307:        ini_set("magic_quotes_runtime", 0);
typo3/sysext/adodb/adodb/adodb-xmlschema.inc.php:2197:        ini_set("magic_quotes_runtime", $this->mgq );
typo3/sysext/adodb/adodb/adodb-xmlschema03.inc.php:1412:        ini_set("magic_quotes_runtime", 0);
typo3/sysext/adodb/adodb/adodb-xmlschema03.inc.php:2378:        ini_set("magic_quotes_runtime", $this->mgq );

Actions

Also available in: Atom PDF