1<documentation title="Opening Brace in Function Declarations">
2    <standard>
3    <![CDATA[
4    Function declarations follow the "Kernighan/Ritchie style". The function brace is on the same line as the function declaration. One space is required between the closing parenthesis and the brace.
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: brace on same line">
9        <![CDATA[
10function fooFunction($arg1, $arg2 = '')<em> {</em>
11    ...
12}
13        ]]>
14        </code>
15        <code title="Invalid: brace on next line">
16        <![CDATA[
17function fooFunction($arg1, $arg2 = '')
18<em>{</em>
19    ...
20}
21        ]]>
22        </code>
23    </code_comparison>
24</documentation>
25