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

Steffen Kamper info at sk-typo3.de
Tue Nov 3 21:41:41 CET 2009


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.

vg Steffen


More information about the TYPO3-team-core mailing list