[TYPO3-core] RFC #11876: stripSlashesOnArray creates references where you want copies

Loek Hilgersom hilgersom at xs4all.nl
Fri Nov 6 10:25:17 CET 2009


Hi Ernesto,

+1 from me. I have applied the patch to my 4.2.10 installation, and now the 
install tool database compare and image testing functions are working properly.

This concerns a system running PHP 5.2.0-8+etch15. Apparently the problem 
appeared only with certain php-versions, that explains why most people can't 
reproduce it.

Great to see that Peter Niederlag and you could track this down and relate it to 
this patch that already existed!

Loek


Ernesto Baschny [cron IT] wrote:
> Steffen Kamper schrieb:
>> Hi Ernesto,
>>
>> Ernesto Baschny [cron IT] schrieb:
>>> Steffen Kamper schrieb:
>>>> maybe i don't get it right. Testing the code there is no difference in
>>>> result with all variants (no unset, inner/outer unset). Using this shows
>>>> the result by reference:
>>>> $arr = array('"a"', '"b"');
>>>> Even then the array behaves correct. What do i miss?
>>> You probably miss an affected PHP version. :) Debian-Etch's PHP 5.2.0 on
>>> my side. With php eAccelerator if that matters. What is your flavour?
>>>
>> ah - that's the problem :) I use 5.2.10 and there all is be fine.
>> So i'm +1 on reading as it doesn't affect later php versions, where all
>> works correct on testing.
> 
> Thanks Steffen,
> 
> Commited to trunk rev. 6328 (4.3 beta3) and TYPO3 4.2 rev 6329 (4.2.11).
> 
> Cheers,
> Ernesto


More information about the TYPO3-team-core mailing list