1
<documentation title="Opening Brace in Function Declarations">
4
Function declarations follow the "BSD/Allman style". The function brace is on the line following the function declaration and is indented to the same column as the start of the function declaration.
8
<code title="Valid: brace on next line">
10
function fooFunction($arg1, $arg2 = '')
16
<code title="Invalid: brace on same line">
18
function fooFunction($arg1, $arg2 = '') <em>{</em>