Consider the following

Code php:
class A {
    public function foo() {
        for($i = 0; $i < 10; $i++) {
            echo 'repeat '.$i;
        }
    }
}

Indenting (whether vi as above or open emacs style) is used to make code more readable. Recently though I had to point out another use to a coworker that I thought was obvious - temporary test code that you intend to delete later shouldn't be indented. That makes it stick out like a sore thumb to be spotted and removed later...

Code php:
class A {
    public function foo() {
        for($i = 0; $i < 10; $i++) {
if ($i == 5) { echo 'stop'; exit; }
            echo 'repeat '.$i;
        }
    }
}