Project

General

Profile

Actions

Bug #20937

closed

htmlArea RTE: Deprecated call-time pass-by-reference

Added by Stefano Kowalke over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-12
Due date:
% Done:

0%

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

Description

A reference "& $this" is pass to a function on line 229 in file typo3/sysext/rtehtmlarea/pi1/class.tx_rtehtmlarea_pi1.php.

This is deprecated in PHP 5.3 and will be removed in the future.

Call this on commandline:
php -l typo3/sysext/rtehtmlarea/pi1/class.tx_rtehtmlarea_pi1.php

The only way to solve this problem in PHP 5.3 is to declare the param as a reference at the creation of the method

function bar(&$v) {
$v++;
}

Unfortunable this is not an option in this case, because the method is provided by PHP (xml_parser) itself.
(issue imported from #M15439)


Files

rtehtmlarea_bugfix_15439_trunk.patch (857 Bytes) rtehtmlarea_bugfix_15439_trunk.patch Administrator Admin, 2010-08-24 07:47
Actions

Also available in: Atom PDF