[TYPO3-core] Usage of "break"

Bernhard Kraft kraftb at think-open.at
Fri Jun 27 12:26:55 CEST 2014


On 06/18/2014 01:48 PM, Jigal van Hemert wrote:

> 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.


greetings,
Bernhard


More information about the TYPO3-team-core mailing list