[TYPO3-core] Usage of "break"
Xavier Perseguers
xavier at typo3.org
Fri Jun 27 14:25:52 CEST 2014
Hi,
>> If you have multiple nested loops and you need to finish all of them as
>> soon as a condition is met it can be necessary.
>
> It's about this code:
> https://review.typo3.org/#/c/30797/4/typo3/sysext/backend/Classes/Form/Element/SuggestElement.php
>
>
> around line 184. There a variable $continue is introduced just to
> realize break 2.
Indeed, I would prefer a break 2.
--
Xavier Perseguers
TYPO3 CMS Team Member
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-team-core
mailing list