foreach (...) { ... if ( $1 == 1 ) { 1. Anweisung 2. Anweisung next; } }