[TYPO3-core] RFC #10759: RemoveXSS is incompatible with PHP 5.2.9 in TYPO3 4.2
Xavier Perseguers
typo3 at perseguers.ch
Fri Mar 27 19:18:57 CET 2009
Hi,
>>> Here's a fix for its use in t3lib_div.
>>
>> +1 on reading.
>>
>> Olly, about your note in http://bugs.typo3.org/view.php?id=9945 : what
>> do you mean with "integrate the __constructor() hack"? I don't see the
>> need for a construct() method at all since it is meant to be used
>> statically anyway.
>>
>> Cheers
>>
>
> i think following:
> in php4 the pseudo constructor was function with same name as class, so
> if you instance it, it will call the function as well.
> This can be prevented by defining an empty __constructor() in this class.
Perhaps but this patch is for 4.2 and 4.2 needs PHP5.2. Why would we
have to care of PHP4?
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-team-core
mailing list