Bug #20937
closedhtmlArea RTE: Deprecated call-time pass-by-reference
0%
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
Updated by Stanislas Rolland about 14 years ago
In the case of objects, PHP 5 passes object references anyways. So the & operator is not required anymore.
Updated by Stanislas Rolland about 14 years ago
Fixed in SVN TYPO3core trunk (revision 8687) and branch TYPO3_4-4 (revision 8688).