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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Nov 3 22:00:04 CET 2009


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