Coding style endforeach (must be avoided)