1
<documentation title="Opening Brace in Function Declarations">
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.
8
<code title="Valid: brace on same line">
10
function fooFunction($arg1, $arg2 = '')<em> {</em>
15
<code title="Invalid: brace on next line">
17
function fooFunction($arg1, $arg2 = '')