1<documentation title="camelCaps Function Names"> 2 <standard> 3 <![CDATA[ 4 Functions should use camelCaps format for their names. Only PHP's magic methods should use a double underscore prefix. 5 ]]> 6 </standard> 7 <code_comparison> 8 <code title="Valid: A function in camelCaps format."> 9 <![CDATA[ 10function <em>doSomething</em>() 11{ 12} 13 ]]> 14 </code> 15 <code title="Invalid: A function in snake_case format."> 16 <![CDATA[ 17function <em>do_something</em>() 18{ 19} 20 ]]> 21 </code> 22 </code_comparison> 23</documentation> 24