[TYPO3-dev] Extbase : Will we one day get rid of old typo3'sdaemons ?

Popy popy.dev at gmail.com
Tue Feb 2 12:08:04 CET 2010


Sorry, I didn't say what was the deamon. I mean list/each of course.
There have been many reports/patches against that, and I saw it again in new
code. Sometimes i feel despaired :/

Cordialement,
Pierre Dudoret


2010/2/2 JoH asenau <info at cybercraft.de>

> > Seen in Tx_Extbase_Utility_Arrays
> >
> >>     static public function integerExplode($delimiter, $string) {
> >>         $chunksArr = explode($delimiter, $string);
> >>         while (list($key, $value) = each($chunksArr)) {
> >>             $chunks[$key] = intval($value);
> >>         }
> >>         reset($chunks);
> >>         return $chunks;
> >>     }
> >>
> >
> > I'm afraid we will never...
>
> So which particular deamon do you see there?
>
> Still comma separated integer values instead of normalised relations?
> Still using the slower while/each instead of foreach?
> Still using a loop instead of array_map?
>
> Just curious
>
> Joey
>
> --
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> Xing: http://contact.cybercraft.de
> Twitter: http://twitter.com/bunnyfield
> TYPO3 <http://twitter.com/bunnyfield%0ATYPO3> cookbook (2nd edition):
> http://www.typo3experts.com
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list