Issue Bug Closed

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

Stefano Kowalke 08/12/10, 14:29 updated 10/02/18, 12:26

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.