[TYPO3-dev] new array operations :-)

Sigfried Arnold s.arnold at rebell.at
Tue Mar 16 11:55:29 CET 2010


Am 15.03.2010 17:28, schrieb Steffen Kamper:
> so $a + $b is same as array_merge, but first array wins, with
> array_merge second wins.

It's also important to know: array_merge() renumbers numeric keys, so 
duplicate entries won't be overwritten. While $a+$b preserves the 
numeric index and overwrites the value.




More information about the TYPO3-dev mailing list