[TYPO3-core] RFC: Remove empty label tags

Michael Stucki michael at typo3.org
Thu Jan 12 12:16:32 CET 2006


Hi Wolfgang,

>  Ingmar Schlecht schrieb folgendes am 12.01.2006:
> > Or to match only whole keys:
> > !stristr(',radio,label,hidden,comment,', ','.$confData['type'].','))
> >
> > Yeah, that's fun :-)
>
>  *hehe*
>  that's indeed the fastest method (0.001331 sec. for 100 comparisons),
>  nearly half the time of the in_array comparison!

OK, so while you're at it:
How fast is the function t3lib_div::inList() (which is doing the same like 
above but in a separate function...)?

!t3lib_div::inList('radio,label,hidden,comment', $confData['type'])

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060112/312bdbbb/attachment.pgp 


More information about the TYPO3-team-core mailing list