1Indentation
2-----
3<?php
4
5class Test {
6    /**
7     * Comment
8     */
9    public function foo() {
10        if (1) {
11            echo $bar;
12        }
13    }
14}
15-----
16!!indent="  "
17class Test
18{
19  /**
20   * Comment
21   */
22  public function foo()
23  {
24    if (1) {
25      echo $bar;
26    }
27  }
28}
29-----
30<?php
31
32class Test {
33    /**
34     * Comment
35     */
36    public function foo() {
37        if (1) {
38            echo $bar;
39        }
40    }
41}
42-----
43!!indent="   "
44class Test
45{
46   /**
47    * Comment
48    */
49   public function foo()
50   {
51      if (1) {
52         echo $bar;
53      }
54   }
55}
56-----
57<?php
58
59class Test {
60    /**
61     * Comment
62     */
63    public function foo() {
64        if (1) {
65            echo $bar;
66        }
67    }
68}
69-----
70!!indent="\t"
71class Test
72{
73@@{"\t"}@@/**
74@@{"\t"}@@ * Comment
75@@{"\t"}@@ */
76@@{"\t"}@@public function foo()
77@@{"\t"}@@{
78@@{"\t\t"}@@if (1) {
79@@{"\t\t\t"}@@echo $bar;
80@@{"\t\t"}@@}
81@@{"\t"}@@}
82}
83