1<documentation title="Scope Indentation"> 2 <standard> 3 <![CDATA[ 4 Indentation for control structures, classes, and functions should be 4 spaces per level. 5 ]]> 6 </standard> 7 <code_comparison> 8 <code title="Valid: 4 spaces are used to indent a control structure."> 9 <![CDATA[ 10if ($test) { 11<em> </em>$var = 1; 12} 13 ]]> 14 </code> 15 <code title="Invalid: 8 spaces are used to indent a control structure."> 16 <![CDATA[ 17if ($test) { 18<em> </em>$var = 1; 19} 20 ]]> 21 </code> 22 </code_comparison> 23</documentation> 24