1<documentation title="Object Operator Spacing"> 2 <standard> 3 <![CDATA[ 4 The object operator (->) should not have any space around it. 5 ]]> 6 </standard> 7 <code_comparison> 8 <code title="Valid: No spaces around the object operator."> 9 <![CDATA[ 10$foo<em></em>-><em></em>bar(); 11]]> 12 </code> 13 <code title="Invalid: Whitespace surrounding the object operator."> 14 <![CDATA[ 15$foo<em> </em>-><em> </em>bar(); 16]]> 17 </code> 18 </code_comparison> 19</documentation> 20